Changed the test to expect the right type of exception. --- backend/server/test/unit-test/rhnSQL/test_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/server/test/unit-test/rhnSQL/test_1.py b/backend/server/test/unit-test/rhnSQL/test_1.py index 6a7c076..be121e1 100644 --- a/backend/server/test/unit-test/rhnSQL/test_1.py +++ b/backend/server/test/unit-test/rhnSQL/test_1.py @@ -46,7 +46,7 @@ class Tests1(unittest.TestCase): def test_exception_procedure_1(self): "Tests exceptions raised by procedure calls" p = rhnSQL.Procedure("rhn_channel.subscribe_server") - self.assertRaises(rhnSQL.SQLSchemaError, p, 1000102174, 33) + self.assertRaises(rhnSQL.SQLError, p, 1000102174, 33) def test_function_1(self): "Tests function calls" -- 1.8.4 _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel