Skip to content

nixos/tests/tiddlywiki: port to python#74866

Merged
flokli merged 2 commits intoNixOS:masterfrom
x123:x123-test-tiddlywiki
Dec 4, 2019
Merged

nixos/tests/tiddlywiki: port to python#74866
flokli merged 2 commits intoNixOS:masterfrom
x123:x123-test-tiddlywiki

Conversation

@x123
Copy link
Copy Markdown
Contributor

@x123 x123 commented Dec 2, 2019

Motivation for this change

Port tiddlywiki test to python #72828

Things done

Ported tiddlywiki test to python.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s): nixos/tests/tiddlywiki.nix
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @

@ofborg ofborg bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Dec 2, 2019
subtest "configured with different wikifolder", sub {
$configured->succeed("test -f /var/lib/tiddlywiki/tiddlywiki.info");
};
with subtest("configured with different wikifolder"):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From reading the subtest title i don't really understand what the high level assumption is. the next subtest title's description however is very good because it tells what your expectation is.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I legitimately have no idea what this particular test does that is not the same thing as the previous "By default creates empty wiki" test. I was literally just porting the behavior over to python from perl. I have simply removed this test since it appears to be a duplicate of a previous test (with a poor description to boot) @tfc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants