Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdam Warner <me@adamwarner.co.uk>2022-04-15 00:53:38 +0300
committerAdam Warner <me@adamwarner.co.uk>2022-04-15 00:53:38 +0300
commitdb116971ce5182084c4eebc25b1088b1fad58e2e (patch)
tree078a30841249d6f367aef4d5d62263547f22cad5 /test
parent9356d7bbb122f3c69fc97a2b3aff828944ef84d6 (diff)
I tried to do too many things in one function, vastly overcomplicating what should have been _this_ all along
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/test_any_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_any_utils.py b/test/test_any_utils.py
index 998c1c84..07feaf0f 100644
--- a/test/test_any_utils.py
+++ b/test/test_any_utils.py
@@ -6,8 +6,8 @@ def test_key_val_replacement_works(host):
addOrEditKeyValPair "./testoutput" "KEY_TWO" "value2"
addOrEditKeyValPair "./testoutput" "KEY_ONE" "value3"
addOrEditKeyValPair "./testoutput" "KEY_FOUR" "value4"
- addOrEditKeyValPair "./testoutput" "KEY_FIVE_NO_VALUE"
- addOrEditKeyValPair "./testoutput" "KEY_FIVE_NO_VALUE"
+ addKey "./testoutput" "KEY_FIVE_NO_VALUE"
+ addKey "./testoutput" "KEY_FIVE_NO_VALUE"
''')
output = host.run('''
cat ./testoutput