def test_dict_arg(self): """Test fix dict arg.""" args = reproducers.maybe_fix_dict_args({ 'aaa': 'bbb', 'dict': '/a/b/c/fuzzer.dict', 'c': 'd' }, '/fake/path') self.assertEqual({ 'aaa': 'bbb', 'dict': '/fake/path/fuzzer.dict', 'c': 'd' }, args)
def test_no_dict_arg(self): """Test no dict arg.""" args = reproducers.maybe_fix_dict_args({'aaa': 'bbb'}, '/fake/path') self.assertEqual({'aaa': 'bbb'}, args)