summaryrefslogtreecommitdiff
path: root/tests/test_adjustments.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_adjustments.py')
-rw-r--r--tests/test_adjustments.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_adjustments.py b/tests/test_adjustments.py
index 6347be3..6aafaa8 100644
--- a/tests/test_adjustments.py
+++ b/tests/test_adjustments.py
@@ -404,6 +404,9 @@ class TestCLI(unittest.TestCase):
return Adjustments.parse_args(argv)
+ def assertDictContainsSubset(self, subset, dictionary):
+ self.assertTrue(set(subset.items()) <= set(dictionary.items()))
+
def test_noargs(self):
opts, args = self.parse([])
self.assertDictEqual(opts, {"call": False, "help": False})