Handle case where tag count is returned as string (as was the case in APIv1)
This commit is contained in:
parent
9cbbd1bd47
commit
fc234096f2
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class TestBase(unittest.TestCase):
|
|||
self.tags = self.client.tags.list()
|
||||
if (len(self.tags) != 1 or
|
||||
self.tags[0].id != self.TEST_TAG or
|
||||
self.tags[0].count != 3):
|
||||
str(self.tags[0].count) != "3"):
|
||||
print "[Regenerating Tags]"
|
||||
self._delete_all()
|
||||
self._create_test_photos()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue