forked from forks/microblog.pub
Fix the test suite
This commit is contained in:
parent
cf242b2d84
commit
1e3d9279ee
1 changed files with 2 additions and 2 deletions
|
@ -75,15 +75,15 @@ def test_federation():
|
||||||
"""Ensure the homepage is accessible."""
|
"""Ensure the homepage is accessible."""
|
||||||
instance1 = Instance('http://localhost:5006', 'http://instance1_web_1:5005')
|
instance1 = Instance('http://localhost:5006', 'http://instance1_web_1:5005')
|
||||||
instance1.ping()
|
instance1.ping()
|
||||||
instance1.drop_db()
|
|
||||||
|
|
||||||
instance2 = Instance('http://localhost:5007', 'http://instance2_web_1:5005')
|
instance2 = Instance('http://localhost:5007', 'http://instance2_web_1:5005')
|
||||||
instance2.ping()
|
instance2.ping()
|
||||||
instance2.drop_db()
|
|
||||||
|
|
||||||
# Login
|
# Login
|
||||||
instance1.login()
|
instance1.login()
|
||||||
|
instance1.drop_db()
|
||||||
instance2.login()
|
instance2.login()
|
||||||
|
instance2.drop_db()
|
||||||
|
|
||||||
# Instance1 follows instance2
|
# Instance1 follows instance2
|
||||||
instance1.follow(instance2)
|
instance1.follow(instance2)
|
||||||
|
|
Loading…
Reference in a new issue