def test_search(self, connect): t = Domain(self.__salt__, **defaults).search() ok_('status' in t, 'returned %s' % t.get('status', 'error'))
def test_report(self, connect): t = Domain(self.__salt__, **defaults).report() ok_('status' not in t, 'returned %s' % t.get('status', 'error'))