More inbox checks

master
Bob Mottram 2019-07-18 12:38:52 +01:00
parent 982ab616d9
commit 6204830110
1 changed files with 2 additions and 0 deletions

View File

@ -1215,6 +1215,8 @@ def testClientToServer():
assert 'bob@'+bobDomain+':'+str(bobPort) not in open(aliceDir+'/accounts/alice@'+aliceDomain+'/following.txt').read() assert 'bob@'+bobDomain+':'+str(bobPort) not in open(aliceDir+'/accounts/alice@'+aliceDomain+'/following.txt').read()
assert validInbox(bobDir,'bob',bobDomain) assert validInbox(bobDir,'bob',bobDomain)
assert validInboxFilenames(bobDir,'bob',bobDomain,aliceDomain,alicePort) assert validInboxFilenames(bobDir,'bob',bobDomain,aliceDomain,alicePort)
assert validInbox(aliceDir,'alice',aliceDomain)
assert validInboxFilenames(aliceDir,'alice',aliceDomain,bobDomain,bobPort)
# stop the servers # stop the servers
thrAlice.kill() thrAlice.kill()