Fixed domain sql regression test for EPAS

This commit is contained in:
Akshay Joshi 2019-01-22 18:22:16 +05:30
parent c6bae69b6f
commit 11ab1918ea

View File

@ -94,9 +94,10 @@ class DomainReverseEngineeredSQLTestCase(BaseTestGenerator):
expected_sql = '-- DOMAIN: {0}.{1} -- DROP DOMAIN {0}.{1}; ' \
'CREATE DOMAIN {0}.{1} {2} ' \
'ALTER DOMAIN {0}.{1} OWNER' \
' TO postgres;'.format(self.schema_name,
self.domain_name,
self.domain_sql)
' TO {3};'.format(self.schema_name,
self.domain_name,
self.domain_sql,
self.server["username"])
self.assertEquals(sql, expected_sql)