[feedly] improve tests
This commit is contained in:
parent
a39dff77a5
commit
92a0b9582f
1 changed files with 4 additions and 1 deletions
|
|
@ -25,7 +25,10 @@ class FeedlyTest(BackendTest):
|
||||||
|
|
||||||
def test_login(self):
|
def test_login(self):
|
||||||
if self.backend.browser.username:
|
if self.backend.browser.username:
|
||||||
list(self.backend.iter_threads())
|
l1 = list(self.backend.iter_threads())
|
||||||
|
assert len(l1)
|
||||||
|
thread = self.backend.get_thread(l1[0].id)
|
||||||
|
assert len(thread.root.content)
|
||||||
else:
|
else:
|
||||||
raise SkipTest("User credentials not defined")
|
raise SkipTest("User credentials not defined")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue