Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/tests/tiddlywiki: port to python #74866

Merged
merged 2 commits into from Dec 4, 2019
Merged

nixos/tests/tiddlywiki: port to python #74866

merged 2 commits into from Dec 4, 2019

Conversation

x123
Copy link
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 @

subtest "configured with different wikifolder", sub {
$configured->succeed("test -f /var/lib/tiddlywiki/tiddlywiki.info");
};
with subtest("configured with different wikifolder"):
Copy link
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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants