Skip to content

Commit

Permalink
Change regen to False
Browse files Browse the repository at this point in the history
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
  • Loading branch information
TG1999 committed Aug 7, 2023
1 parent b34edf8 commit d96a719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packagedb/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def test_package_api_filter_by_checksums(self):
response = self.client.post('/api/packages/filter_by_checksums/', data=data)
self.assertEqual(4, response.data['count'])
expected = self.get_test_loc('api/package-filter_by_checksums-expected.json')
self.check_expected_results(response.data['results'], expected, fields_to_remove=["url", "uuid", "resources"], regen=True)
self.check_expected_results(response.data['results'], expected, fields_to_remove=["url", "uuid", "resources"], regen=False)


class PackageApiReindexingTestCase(JsonBasedTesting, TestCase):
Expand Down

0 comments on commit d96a719

Please sign in to comment.