Commit 5dca7330 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

fuse.py: update unit tests

parent ca6859e6
...@@ -761,7 +761,7 @@ w6.d ={"id" : "bbb", "reads" : [12], "top" : 2 } ...@@ -761,7 +761,7 @@ w6.d ={"id" : "bbb", "reads" : [12], "top" : 2 }
lw1 = ListWindows() lw1 = ListWindows()
lw1.d["timestamp"] = 'ts' lw1.d["timestamp"] = 'ts'
lw1.d["reads"] = json.loads('{"total": [30], "segmented": [25] }', object_hook=lw1.toPython) lw1.d["reads"] = json.loads('{"total": [30], "segmented": [25], "germline": {} }', object_hook=lw1.toPython)
lw1.d["clones"].append(w5) lw1.d["clones"].append(w5)
lw1.d["clones"].append(w6) lw1.d["clones"].append(w6)
...@@ -772,7 +772,7 @@ w8.d ={"id" : "ccc", "reads" : [2], "top" : 8, "test" : ["plop"] } ...@@ -772,7 +772,7 @@ w8.d ={"id" : "ccc", "reads" : [2], "top" : 8, "test" : ["plop"] }
lw2 = ListWindows() lw2 = ListWindows()
lw2.d["timestamp"] = 'ts' lw2.d["timestamp"] = 'ts'
lw2.d["reads"] = json.loads('{"total": [40], "segmented": [34] }', object_hook=lw1.toPython) lw2.d["reads"] = json.loads('{"total": [40], "segmented": [34], "germline": {} }', object_hook=lw1.toPython)
lw2.d["clones"].append(w7) lw2.d["clones"].append(w7)
lw2.d["clones"].append(w8) lw2.d["clones"].append(w8)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment