def test_update_pass(self): rv = soy_nginx.update('user', 'host', 'updated_host') ok_(rv['status'] is True, 'returned %s' % rv)
def test_update_fail(self): rv = soy_nginx.update('user', 'host', 'updated_user') ok_(rv['status'] is False, 'returned %s' % rv)