forked from indymedia/epicyon
Include calendar file in tests
parent
281bafcf81
commit
3ec54282dc
12
tests.py
12
tests.py
|
@ -1403,10 +1403,18 @@ def testClientToServer():
|
||||||
'/followers.txt').read():
|
'/followers.txt').read():
|
||||||
if os.path.isfile(bobDir + '/accounts/bob@' + bobDomain +
|
if os.path.isfile(bobDir + '/accounts/bob@' + bobDomain +
|
||||||
'/following.txt'):
|
'/following.txt'):
|
||||||
if 'alice@' + aliceDomain + ':' + str(alicePort) in \
|
aliceHandleStr = \
|
||||||
|
'alice@' + aliceDomain + ':' + str(alicePort)
|
||||||
|
if aliceHandleStr in \
|
||||||
open(bobDir + '/accounts/bob@' + bobDomain +
|
open(bobDir + '/accounts/bob@' + bobDomain +
|
||||||
'/following.txt').read():
|
'/following.txt').read():
|
||||||
break
|
if os.path.isfile(bobDir + '/accounts/bob@' +
|
||||||
|
bobDomain +
|
||||||
|
'/followingCalendar.txt'):
|
||||||
|
if aliceHandleStr in \
|
||||||
|
open(bobDir + '/accounts/bob@' + bobDomain +
|
||||||
|
'/followingCalendar.txt').read():
|
||||||
|
break
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
assert os.path.isfile(aliceDir + '/accounts/alice@' + aliceDomain +
|
assert os.path.isfile(aliceDir + '/accounts/alice@' + aliceDomain +
|
||||||
|
|
Loading…
Reference in New Issue