Gave a better name to `test_2.py`.
---
 backend/server/test/unit-test/rhnSQL/test_2.py          | 15 ---------------
 backend/server/test/unit-test/rhnSQL/test_exceptions.py | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 15 deletions(-)
 delete mode 100644 backend/server/test/unit-test/rhnSQL/test_2.py
 create mode 100644 backend/server/test/unit-test/rhnSQL/test_exceptions.py

diff --git a/backend/server/test/unit-test/rhnSQL/test_2.py 
b/backend/server/test/unit-test/rhnSQL/test_2.py
deleted file mode 100644
index f0b78c6..0000000
--- a/backend/server/test/unit-test/rhnSQL/test_2.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-# Copyright (c) 2005--2010 Red Hat, Inc.
-#
-#
-#
-
-import unittest
-from spacewalk.server import rhnSQL
-
-class ExceptionsTest(unittest.TestCase):
-    def test_failed_connection(self):
-        self.assertRaises(rhnSQL.SQLConnectError, rhnSQL.initDB, 'x/y@z')
-
-if __name__ == '__main__':
-    unittest.main()
diff --git a/backend/server/test/unit-test/rhnSQL/test_exceptions.py 
b/backend/server/test/unit-test/rhnSQL/test_exceptions.py
new file mode 100644
index 0000000..f0b78c6
--- /dev/null
+++ b/backend/server/test/unit-test/rhnSQL/test_exceptions.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python
+# Copyright (c) 2005--2010 Red Hat, Inc.
+#
+#
+#
+
+import unittest
+from spacewalk.server import rhnSQL
+
+class ExceptionsTest(unittest.TestCase):
+    def test_failed_connection(self):
+        self.assertRaises(rhnSQL.SQLConnectError, rhnSQL.initDB, 'x/y@z')
+
+if __name__ == '__main__':
+    unittest.main()
-- 
1.8.4

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to