Skip to content

Commit

Permalink
Fix json test
Browse files Browse the repository at this point in the history
  • Loading branch information
HCookie committed Oct 17, 2024
1 parent 89fedd9 commit 6ca47f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_json_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def setUp(self):
"sponsor_info": "",
}
],
"show_organizations_list": [],
}

def test_write_to_json(self):
Expand All @@ -56,6 +57,7 @@ def test_write_to_json(self):
repository_list=self.data["repository_list"],
sponsor_info=self.data["sponsor_info"],
link_to_profile=self.data["link_to_profile"],
show_organizations_list=[]
)
with open(self.filename, "r", encoding="utf-8") as f:
result = json.load(f)
Expand Down

0 comments on commit 6ca47f7

Please sign in to comment.