fix: remove unused sleeps

This commit is contained in:
Swann Martinez 2019-07-19 11:26:21 +02:00
parent e6af7abc04
commit da5ccfd4ef
No known key found for this signature in database
GPG Key ID: 414CCAFD8DA720E1

View File

@ -78,11 +78,10 @@ class TestClient(unittest.TestCase):
client2.connect(port=5560)
# Test the key registering
time.sleep(1)
data_sample_key = client.register(SampleData())
#Waiting for server to receive the datas
time.sleep(2)
time.sleep(.2)
rep_test_key = client2._rep_store[data_sample_key].uuid
@ -103,5 +102,5 @@ def suite():
return suite
if __name__ == '__main__':
runner = unittest.TextTestRunner(failfast=True)
runner = unittest.TextTestRunner(failfast=True,verbosity=2)
runner.run(suite())