test/unit: allow running test directly

Change-Id: Ib819ce7051f2152f8cca89ac28196209a56dd0c1
This commit is contained in:
MORITA Kazutaka
2014-08-06 23:32:37 +09:00
parent 941f58522b
commit 401387cbb1

View File

@@ -32,3 +32,6 @@ class TestSwift3Utils(unittest.TestCase):
def test_snake_to_camel(self):
for s1, s2 in strs:
self.assertEquals(s1, utils.snake_to_camel(s2))
if __name__ == '__main__':
unittest.main()