Skip to content

Commit

Permalink
fix tests disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
rmlibre committed Dec 17, 2019
1 parent 9042d3d commit 4c758dc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/test_tiny_gnupg.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
A workaround, if a system installation is desired or can't be deleted,
is to move this test close to the system script. One directory up, and
into a tests folder.
into a tests folder. This is less desirable if sudo was used to install
tiny_gnupg instead of the --user flag.
"""


Expand Down Expand Up @@ -56,8 +57,6 @@ def gpg():
relative_gpg_path = str(Path(PACKAGE_PATH).absolute() / "tiny_gnupg/gpghome")
gpg = GnuPG(username, email, passphrase)
gpg.set_homedir(relative_gpg_path)
# gpg.reset_daemon()
# sleep(0.2)
yield gpg
print("teardown".center(18, "-"))

Expand Down Expand Up @@ -368,3 +367,7 @@ def test_auto_fetch_methods(gpg):
gpg.delete(dev_fingerprint)
run(gpg.auto_verify(dev_signed_message))
gpg.delete(dev_fingerprint)


def test_reset_daemon(gpg):
gpg.reset_daemon()

0 comments on commit 4c758dc

Please sign in to comment.