mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Removing tabs from test_basic.py
This commit is contained in:
parent
1de9357c2f
commit
0ea3a9d08d
1 changed files with 2 additions and 2 deletions
|
@ -117,9 +117,9 @@ class TestModuleUtilsBasic(unittest.TestCase):
|
||||||
self.assertEqual(mod.module_utils.basic.literal_eval("1"), 1)
|
self.assertEqual(mod.module_utils.basic.literal_eval("1"), 1)
|
||||||
self.assertEqual(mod.module_utils.basic.literal_eval("-1"), -1)
|
self.assertEqual(mod.module_utils.basic.literal_eval("-1"), -1)
|
||||||
self.assertEqual(mod.module_utils.basic.literal_eval("(1,2,3)"), (1,2,3))
|
self.assertEqual(mod.module_utils.basic.literal_eval("(1,2,3)"), (1,2,3))
|
||||||
self.assertEqual(mod.module_utils.basic.literal_eval("[1]"), [1])
|
self.assertEqual(mod.module_utils.basic.literal_eval("[1]"), [1])
|
||||||
self.assertEqual(mod.module_utils.basic.literal_eval("True"), True)
|
self.assertEqual(mod.module_utils.basic.literal_eval("True"), True)
|
||||||
self.assertEqual(mod.module_utils.basic.literal_eval("False"), False)
|
self.assertEqual(mod.module_utils.basic.literal_eval("False"), False)
|
||||||
self.assertEqual(mod.module_utils.basic.literal_eval("None"), None)
|
self.assertEqual(mod.module_utils.basic.literal_eval("None"), None)
|
||||||
#self.assertEqual(mod.module_utils.basic.literal_eval('{"a": 1}'), dict(a=1))
|
#self.assertEqual(mod.module_utils.basic.literal_eval('{"a": 1}'), dict(a=1))
|
||||||
self.assertRaises(ValueError, mod.module_utils.basic.literal_eval, "asdfasdfasdf")
|
self.assertRaises(ValueError, mod.module_utils.basic.literal_eval, "asdfasdfasdf")
|
||||||
|
|
Loading…
Reference in a new issue