summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-22 04:57:38 +0900
committerkali <kali@leap.se>2012-08-22 04:57:38 +0900
commit38e6c9c6345ca28ed0134ce6f4d43ec650103709 (patch)
tree04e6cb5d2622357c9dc12c9a88a77f931db30064
parent6fcbd68152689f98d9c5b7526eee2e1e9b7dd0a2 (diff)
mv util tests to folder
-rw-r--r--src/leap/util/tests/test_fileutil.py (renamed from src/leap/util/test_fileutil.py)3
-rw-r--r--src/leap/util/tests/test_leap_argparse.py (renamed from src/leap/util/test_leap_argparse.py)3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/util/test_fileutil.py b/src/leap/util/tests/test_fileutil.py
index f5dbe108..f5131b3d 100644
--- a/src/leap/util/test_fileutil.py
+++ b/src/leap/util/tests/test_fileutil.py
@@ -95,3 +95,6 @@ class FileUtilTest(unittest.TestCase):
fileutil.check_and_fix_urw_only(fp)
mode = self.get_mode(fp)
self.assertEqual(mode, int('600', 8))
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/src/leap/util/test_leap_argparse.py b/src/leap/util/tests/test_leap_argparse.py
index 1442e827..f4c86e36 100644
--- a/src/leap/util/test_leap_argparse.py
+++ b/src/leap/util/tests/test_leap_argparse.py
@@ -25,3 +25,6 @@ class LeapArgParseTest(unittest.TestCase):
opts,
Namespace(config_file=None,
debug=True))
+
+if __name__ == "__main__":
+ unittest.main()