Tweak tests

This commit is contained in:
Thomas Sileo 2018-05-26 10:02:24 +02:00
parent 849c495b7d
commit 3f09bee39c

View file

@ -36,8 +36,7 @@ def test_federation():
resp = session1.get('http://localhost:5006/api/follow', params={'actor': 'http://instance2_web_1:5005'}) resp = session1.get('http://localhost:5006/api/follow', params={'actor': 'http://instance2_web_1:5005'})
assert resp.status_code == 201 assert resp.status_code == 201
time.sleep(10)
time.sleep(2)
resp = requests.get('http://localhost:5007/followers', headers={'Accept': 'application/activity+json'}) resp = requests.get('http://localhost:5007/followers', headers={'Accept': 'application/activity+json'})
resp.raise_for_status() resp.raise_for_status()