summaryrefslogtreecommitdiffstats
path: root/tests/other/test_filedatabase.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-11 19:49:20 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-11 19:50:54 +0100
commit763b142db70ce77952cb46cfccf84d9800f15651 (patch)
treed2636e48766d365bd8a9d079de603b127ab88744 /tests/other/test_filedatabase.py
parentMerge pull request #33 from stickell/patch-3 (diff)
downloadpyload-763b142db70ce77952cb46cfccf84d9800f15651.tar.xz
websocket login via session, websocket pushes server status, webui renders server status
Diffstat (limited to 'tests/other/test_filedatabase.py')
-rw-r--r--tests/other/test_filedatabase.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/other/test_filedatabase.py b/tests/other/test_filedatabase.py
index 3a63b75d5..9a5b236a8 100644
--- a/tests/other/test_filedatabase.py
+++ b/tests/other/test_filedatabase.py
@@ -158,9 +158,8 @@ class TestDatabase(BenchmarkTest):
def test_count(self):
self.db.purgeAll()
- assert self.db.filecount() == 0
- assert self.db.downloadcount() == 0
- assert self.db.queuecount() == 0
+ assert self.db.downloadstats() == (0,0)
+ assert self.db.queuestats() == (0,0)
assert self.db.processcount() == 0
def test_update(self):