diff options
author | Tristan Seligmann <mithrandi@mithrandi.net> | 2017-07-06 16:18:29 +0200 |
---|---|---|
committer | Tristan Seligmann <mithrandi@mithrandi.net> | 2017-07-06 16:18:29 +0200 |
commit | 6cc61b1f646edac4ed90929b18143da1515e813d (patch) | |
tree | 9963571f6ef0e43749ff979b537b352545ae7c49 | |
parent | 49b6c74b662471b6849442becf5a165348376420 (diff) | |
download | python-json-patch-6cc61b1f646edac4ed90929b18143da1515e813d.tar.gz |
Add explicit example.
-rwxr-xr-x | tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -536,6 +536,8 @@ if hypothesis is not None: | st.dictionaries(st.text(string.printable), children)) class RoundtripTests(unittest.TestCase): + @hypothesis.example({}, {u'%20': None}) + @hypothesis.example({u'%20': None}, {}) @hypothesis.given(json_st, json_st) def test_roundtrip(self, src, dst): patch = jsonpatch.JsonPatch.from_diff(src, dst, False) |