Updated functional tests to use new configuration format when specifying API version
This commit is contained in:
parent
ec648ea753
commit
13331efe0d
2 changed files with 9 additions and 10 deletions
|
@ -42,8 +42,8 @@ class TestBase(unittest.TestCase):
|
|||
else:
|
||||
print("\nTesting %s v%d" % (cls.testcase_name, cls.api_version))
|
||||
|
||||
cls.client = trovebox.Trovebox(config_file=cls.config_file,
|
||||
api_version=cls.api_version)
|
||||
cls.client = trovebox.Trovebox(config_file=cls.config_file)
|
||||
cls.client.configure(api_version=cls.api_version)
|
||||
|
||||
if cls.client.photos.list() != []:
|
||||
raise ValueError("The test server (%s) contains photos. "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue