Antigravity is dog shit.
This commit is contained in:
@@ -5,7 +5,7 @@ def test_context_file_entry_serialization():
|
||||
p = ContextFileEntry(path="test.py", view_mode="skeleton")
|
||||
d = p.to_dict()
|
||||
# Check for default custom_slices
|
||||
assert d == {"path": "test.py", "view_mode": "skeleton", "custom_slices": []}
|
||||
assert d == {"path": "test.py", "view_mode": "skeleton", "custom_slices": [], "ast_definitions": False, "ast_mask": {}, "ast_signatures": False}
|
||||
|
||||
p2 = ContextFileEntry.from_dict(d)
|
||||
assert p2.path == "test.py"
|
||||
|
||||
Reference in New Issue
Block a user