More checks

master
Bob Mottram 2019-07-17 12:30:26 +01:00
parent fc42149e66
commit dcd0b8eff7
1 changed files with 2 additions and 0 deletions

View File

@ -1088,6 +1088,8 @@ def testClientToServer():
assert os.path.isfile(bobDir+'/accounts/bob@'+bobDomain+'/followers.txt')
assert os.path.isfile(aliceDir+'/accounts/alice@'+aliceDomain+'/following.txt')
assert 'alice@'+aliceDomain+':'+str(alicePort) in open(bobDir+'/accounts/bob@'+bobDomain+'/followers.txt').read()
assert 'bob@'+bobDomain+':'+str(bobPort) in open(aliceDir+'/accounts/alice@'+aliceDomain+'/following.txt').read()
print('\n\nBob repeats the post')
sessionBob = createSession(bobDomain,bobPort,useTor)