- Bump version

This commit is contained in:
Stepan Oksanichenko 2023-11-15 14:49:51 +02:00
parent 793fb23958
commit d79f163685
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B

View File

@ -57,7 +57,12 @@ class TestPackagesJson(TestCase):
'pungi.scripts.create_packages_json.tempfile.NamedTemporaryFile',
) as mock_tempfile:
mock_tempfile.return_value.__enter__.return_value.name = 'tmpfile'
file_name = PackagesGenerator.get_remote_file_content(
packages_generator = PackagesGenerator(
variants=[],
excluded_packages=[],
included_packages=[],
)
file_name = packages_generator.get_remote_file_content(
file_url='fakeurl')
mock_requests_get.assert_called_once_with(url='fakeurl')
mock_tempfile.assert_called_once_with(delete=False)