From e59eaedfd0e11bb316f6749419b74eba6859b5c8 Mon Sep 17 00:00:00 2001 From: Khushboo Vashi Date: Wed, 31 Oct 2018 11:35:13 +0000 Subject: [PATCH] Fix buildfarm failures. --- .../extensions/tests/test_extension_delete_multiple.py | 2 +- .../schemas/collations/tests/test_collation_delete_multiple.py | 2 +- .../databases/schemas/tests/test_schema_delete_multiple.py | 2 +- .../servers/databases/tests/test_db_delete_multiple.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/pgadmin/browser/server_groups/servers/databases/extensions/tests/test_extension_delete_multiple.py b/web/pgadmin/browser/server_groups/servers/databases/extensions/tests/test_extension_delete_multiple.py index 7dcbd0ed6..7da52f323 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/extensions/tests/test_extension_delete_multiple.py +++ b/web/pgadmin/browser/server_groups/servers/databases/extensions/tests/test_extension_delete_multiple.py @@ -62,7 +62,7 @@ class ExtensionsDeleteMultipleTestCase(BaseTestGenerator): data = {'ids': self.extension_ids} delete_response = self.tester.delete( self.url + str(utils.SERVER_GROUP) + '/' + - str(self.server_id) + '/' + str(self.db_id), + str(self.server_id) + '/' + str(self.db_id) + '/', follow_redirects=True, data=json.dumps(data), content_type='html/json' diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/collations/tests/test_collation_delete_multiple.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/collations/tests/test_collation_delete_multiple.py index a8f7848a0..3f4305995 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/collations/tests/test_collation_delete_multiple.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/collations/tests/test_collation_delete_multiple.py @@ -67,7 +67,7 @@ class CollationDeleteMultipleTestCase(BaseTestGenerator): get_response = self.tester.delete( self.url + str(utils.SERVER_GROUP) + '/' + str( server_id) + '/' + - str(db_id) + '/' + str(schema_id), + str(db_id) + '/' + str(schema_id) + '/', content_type='html/json', data=json.dumps(data), follow_redirects=True, diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tests/test_schema_delete_multiple.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tests/test_schema_delete_multiple.py index b99764bc3..87cf90ff6 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tests/test_schema_delete_multiple.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tests/test_schema_delete_multiple.py @@ -78,7 +78,7 @@ class SchemaDeleteMultipleTestCase(BaseTestGenerator): data = {'ids': [self.schema_details[0], self.schema_details_1[0]]} response = self.tester.delete(self.url + str(utils.SERVER_GROUP) + '/' + str(server_id) + '/' + - str(db_id), + str(db_id) + '/', follow_redirects=True, data=json.dumps(data), content_type='html/json') diff --git a/web/pgadmin/browser/server_groups/servers/databases/tests/test_db_delete_multiple.py b/web/pgadmin/browser/server_groups/servers/databases/tests/test_db_delete_multiple.py index 9f416947f..0fd525132 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/tests/test_db_delete_multiple.py +++ b/web/pgadmin/browser/server_groups/servers/databases/tests/test_db_delete_multiple.py @@ -40,7 +40,7 @@ class DatabaseMultipleDeleteTestCase(BaseTestGenerator): data = {'ids': self.db_ids} response = self.tester.delete( self.url + str(utils.SERVER_GROUP) + '/' + - str(self.server_id), + str(self.server_id) + '/', follow_redirects=True, data=json.dumps(data), content_type='html/json')