Skip to content

Commit

Permalink
Add full names to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonHeybrock committed Apr 15, 2024
1 parent 98a7b4c commit 55a0dbe
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/serialize/json_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,55 +98,55 @@ def node_sort_key(node: dict[str, Any]) -> str:
'id': '1',
'label': 'to_string',
'kind': 'function',
'function': 'json_test.to_string',
'function': 'tests.serialize.json_test.to_string',
'args': ['106', '104'],
'kwargs': {},
},
{
'id': '2',
'label': 'Int[A]',
'kind': 'data',
'type': 'json_test.Int[json_test.A]',
'type': 'tests.serialize.json_test.Int[tests.serialize.json_test.A]',
},
{
'id': '3',
'label': 'Int[B]',
'kind': 'data',
'type': 'json_test.Int[json_test.B]',
'type': 'tests.serialize.json_test.Int[tests.serialize.json_test.B]',
},
{
'id': '4',
'label': 'make_int_b',
'kind': 'function',
'function': 'json_test.make_int_b',
'function': 'tests.serialize.json_test.make_int_b',
'args': [],
'kwargs': {},
},
{
'id': '5',
'label': 'List[A]',
'kind': 'data',
'type': 'json_test.List[json_test.A]',
'type': 'tests.serialize.json_test.List[tests.serialize.json_test.A]',
},
{
'id': '6',
'label': 'zeros',
'kind': 'function',
'function': 'json_test.zeros',
'function': 'tests.serialize.json_test.zeros',
'args': ['101'],
'kwargs': {},
},
{
'id': '7',
'label': 'List[B]',
'kind': 'data',
'type': 'json_test.List[json_test.B]',
'type': 'tests.serialize.json_test.List[tests.serialize.json_test.B]',
},
{
'id': '8',
'label': 'zeros',
'kind': 'function',
'function': 'json_test.zeros',
'function': 'tests.serialize.json_test.zeros',
'args': ['102'],
'kwargs': {},
},
Expand Down Expand Up @@ -194,7 +194,7 @@ def fn_w_kwonlyargs(*, x: int) -> float:
'id': '1',
'label': 'fn_w_kwonlyargs',
'kind': 'function',
'function': 'json_test.fn_w_kwonlyargs',
'function': 'tests.serialize.json_test.fn_w_kwonlyargs',
'args': [],
'kwargs': {'x': '101'},
},
Expand Down Expand Up @@ -242,7 +242,7 @@ def repeated_arg(a: str, b: str) -> list[str]:
'id': '1',
'label': 'repeated_arg',
'kind': 'function',
'function': 'json_test.repeated_arg',
'function': 'tests.serialize.json_test.repeated_arg',
'args': ['101', '102'],
'kwargs': {},
},
Expand Down Expand Up @@ -302,7 +302,7 @@ def repeated_kwonlyargs(*, x: int, b: int) -> str:
'id': '2',
'label': 'repeated_arg_kwonlyarg',
'kind': 'function',
'function': 'json_test.repeated_arg_kwonlyarg',
'function': 'tests.serialize.json_test.repeated_arg_kwonlyarg',
'args': ['103'],
'kwargs': {'b': '104'},
},
Expand All @@ -316,7 +316,7 @@ def repeated_kwonlyargs(*, x: int, b: int) -> str:
'id': '4',
'label': 'repeated_kwonlyargs',
'kind': 'function',
'function': 'json_test.repeated_kwonlyargs',
'function': 'tests.serialize.json_test.repeated_kwonlyargs',
'args': [],
'kwargs': {'x': '100', 'b': '101'},
},
Expand Down Expand Up @@ -358,7 +358,7 @@ def test_serialize_repeated_konlywarg() -> None:
'id': '1',
'label': '<lambda>',
'kind': 'function',
'function': 'json_test.test_serialize_lambda.<locals>.<lambda>',
'function': 'tests.serialize.json_test.test_serialize_lambda.<locals>.<lambda>',
'args': ['101'],
'kwargs': {},
},
Expand Down

0 comments on commit 55a0dbe

Please sign in to comment.