def setUp(self):
        postgres_privileges.__opts__ = {}
        postgres_privileges.__salt__ = {}
        self.table_name = 'awl'
        self.group_name = 'admins'
        self.name = 'baruwa'
        self.ret = {'name': self.name,
               'changes': {},
               'result': False,
               'comment': ''}
        self.mock_true = MagicMock(return_value=True)
        self.mock_false = MagicMock(return_value=False)
Setup data for the tests
dataset/ETHPy150Open saltstack/salt/tests/unit/states/postgres_privileges_test.py/PostgresPrivilegesTestCase.setUp