|
@@ -30,3 +30,8 @@ class DataHandlerTestCase(unittest.TestCase):
|
30
|
30
|
DataHandler.register_new_handler('testvarchar', Exception)
|
31
|
31
|
except Exception as err:
|
32
|
32
|
self.assertEqual(ValueError, type(err))
|
|
33
|
+
|
|
34
|
+ def test_from_name(self):
|
|
35
|
+ DataHandler.register_new_handler('test_varchar', Varchar)
|
|
36
|
+ self.assertEqual(DataHandler.from_name('test_varchar'), Varchar)
|
|
37
|
+
|