Rev3802, Fix pytest warnings

This commit is contained in:
shortcutme 2019-01-20 20:02:31 +01:00
parent f58f738fe4
commit a7509988af
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
5 changed files with 17 additions and 12 deletions

View file

@ -185,7 +185,7 @@ class TestBootstrapper:
assert len(site.peers) == 2
assert "bka4ht2bzxchy44r.onion:1234" in site.peers
@pytest.mark.skipif(not pytest.config.getvalue("slow"), reason="--slow not requested (takes around ~ 1min)")
@pytest.mark.slow
def testAnnounce(self, file_server, tor_manager):
file_server.tor_manager = tor_manager
hash1 = hashlib.sha256("1Nekos4fiBqfcazyG1bAxdBT5oBvA76Z").digest()