Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nschloe committed Nov 26, 2020
1 parent 3a6c15e commit ce80ebd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/test_tuna.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ def test_importprofile():
"""

ref = {
"name": "main",
"text": ["main"],
"color": 0,
"children": [
{
"name": "a",
"text": ["a"],
"value": 1e-06,
"color": 0,
"children": [
{
"name": "b",
"text": ["b"],
"value": 2e-06,
"color": 0,
"children": [{"name": "c", "value": 3e-06, "color": 0}],
"children": [{"text": ["c"], "value": 3e-06, "color": 0}],
}
],
}
Expand Down Expand Up @@ -66,23 +66,23 @@ def test_importprofile_multiprocessing():
import time: 1 | 12 | a
"""
ref = {
"name": "main",
"text": ["main"],
"color": 0,
"children": [
{
"name": "a",
"text": ["a"],
"value": 1e-06,
"children": [
{
"name": "b",
"text": ["b"],
"value": 2e-06,
"children": [
{
"name": "c",
"text": ["c"],
"value": 3e-06,
"children": [
{
"name": "e",
"text": ["e"],
"value": 4.9999999999999996e-06,
"color": 0,
}
Expand All @@ -92,7 +92,7 @@ def test_importprofile_multiprocessing():
],
"color": 0,
},
{"name": "d", "value": 4e-06, "color": 0},
{"text": ["d"], "value": 4e-06, "color": 0},
],
"color": 0,
}
Expand Down

0 comments on commit ce80ebd

Please sign in to comment.