Major update to the test suite:

1. Code changes (due to drop objects functionality).
2. Quoting for database names in drop databases.
3. Code changes for import errors for pickle_path and advanced_config variables.
This commit is contained in:
Navnath Gadakh
2016-10-07 13:59:43 +01:00
committed by Dave Page
parent 50658808d9
commit ae612f5403
89 changed files with 3683 additions and 4731 deletions

View File

@@ -10,7 +10,7 @@
def change_password(self):
response = self.tester.get('/change', follow_redirects=True)
self.assertIn('pgAdmin 4 Password Change', response.data.decode(
self.assertTrue('pgAdmin 4 Password Change' in response.data.decode(
'utf-8'))
response = self.tester.post('/change', data=dict(
@@ -18,4 +18,4 @@ def change_password(self):
new_password=self.new_password,
new_password_confirm=self.new_password_confirm),
follow_redirects=True)
self.assertIn(self.respdata, response.data.decode('utf-8'))
self.assertTrue(self.respdata in response.data.decode('utf-8'))