summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-30 18:40:16 +0100
committerChristian Poessinger <christian@poessinger.com>2020-10-30 18:40:16 +0100
commit406083932ae62ccde5ff547ef7d7960efe0269e3 (patch)
treefd411f3c2ff39c5f8b48234bfd3958dee892430e /src
parentd0a5df6b3563b0a8c4b06f37629e49d0644a3457 (diff)
downloadvyos-1x-406083932ae62ccde5ff547ef7d7960efe0269e3.tar.gz
vyos-1x-406083932ae62ccde5ff547ef7d7960efe0269e3.zip
vyos.util: T2995: change comment style for "make test" output
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_vyos_dict_search.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tests/test_vyos_dict_search.py b/src/tests/test_vyos_dict_search.py
index f12aac64e..6a0fc74ad 100644
--- a/src/tests/test_vyos_dict_search.py
+++ b/src/tests/test_vyos_dict_search.py
@@ -29,29 +29,29 @@ class TestDictSearch(TestCase):
pass
def test_non_existing_keys(self):
- """ TestDictSearch: Return False when querying for non-existent key """
+ # TestDictSearch: Return False when querying for non-existent key
self.assertFalse(dict_search('non_existing', data))
def test_string(self):
- """ TestDictSearch: Return value when querying string """
+ # TestDictSearch: Return value when querying string
self.assertEqual(dict_search('string', data), data['string'])
def test_list(self):
- """ TestDictSearch: Return list items when querying list """
+ # TestDictSearch: Return list items when querying list
self.assertEqual(dict_search('list', data), data['list'])
def test_dict_key_value(self):
- """ TestDictSearch: Return dictionary keys value when value is present """
+ # TestDictSearch: Return dictionary keys value when value is present
self.assertEqual(dict_search('dict.key_2', data), data['dict']['key_2'])
def test_nested_dict_key_value(self):
- """ TestDictSearch: Return string value of last key when querying for a nested string """
+ # TestDictSearch: Return string value of last key when querying for a nested string
self.assertEqual(dict_search('nested.string', data), data['nested']['string'])
def test_nested_dict_key_empty(self):
- """ TestDictSearch: Return False when querying for a nested string whose last key is empty """
+ # TestDictSearch: Return False when querying for a nested string whose last key is empty
self.assertFalse(dict_search('nested.empty', data))
def test_nested_list(self):
- """ TestDictSearch: Return list items when querying nested list """
+ # TestDictSearch: Return list items when querying nested list
self.assertEqual(dict_search('nested.list', data), data['nested']['list'])