Skip to content

Handle Fixtures #14

@robproject

Description

@robproject

Description

Fixtures on their own do not follow the same pattern as doctype or customization schema.

Testing

Make changes to a fixture and observe an error like the below. (Workflow State being the example)

Traceback (most recent call last):
  File "/Users/robir/bench/fsjd/frappe_schema_json_diff.py", line 443, in <module>
    diff.print()
  File "/Users/robir/bench/fsjd/frappe_schema_json_diff.py", line 52, in print
    self.tree = self.dict_diff(
                ^^^^^^^^^^^^^^^
  File "/Users/robir/bench/fsjd/frappe_schema_json_diff.py", line 75, in dict_diff
    for bk, bk_v in base_dict.items():
                    ^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'items'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions