diff --git a/test/release/assets_test.py b/test/release/assets_test.py index 95c8e63..db04818 100644 --- a/test/release/assets_test.py +++ b/test/release/assets_test.py @@ -7,7 +7,7 @@ class TestAssetsLink(unittest.TestCase): def test_assets_link_creation(self): - init_str_resolver("1.1.1") + init_str_resolver("1.1.1", "alamaKota") link_config = ReleaseAssetsLinkConfig('Test Asset', 'http://example.com/test_asset', 'image') @@ -20,7 +20,7 @@ def test_assets_link_creation(self): class TestAssets(unittest.TestCase): def test_assets_creation(self): - init_str_resolver("1.1.1") + init_str_resolver("1.1.1", "alamaKota") assets_config = ReleaseAssetsConfig([ ReleaseAssetsLinkConfig('Test Asset 1', 'http://example.com/test_asset_1', 'image'), @@ -38,7 +38,7 @@ def test_assets_creation(self): self.assertEqual(assets.links[1].link_type, 'other') def test_assets_json_empty(self): - init_str_resolver("1.1.1") + init_str_resolver("1.1.1", "alamaKota") assets_config = ReleaseAssetsConfig([]) assets = Assets(assets_config) @@ -48,7 +48,7 @@ def test_assets_json_empty(self): self.assertEqual(json, '{"links": []}') def test_assets_json(self): - init_str_resolver("1.1.1") + init_str_resolver("1.1.1", "alamaKota") assets_config = ReleaseAssetsConfig([ ReleaseAssetsLinkConfig('Test Asset 1', 'http://example.com/test_asset_1', 'image'), @@ -58,4 +58,4 @@ def test_assets_json(self): json = assets.json() - self.assertEqual(json, '{"links": [{"name": "Test Asset 1", "url": "http://example.com/test_asset_1", "link_type": "image"}, {"name": "Test Asset 2", "url": "http://example.com/test_asset_2", "link_type": "other"}]}') \ No newline at end of file + self.assertEqual(json, '{"links": [{"name": "Test Asset 1", "url": "http://example.com/test_asset_1", "link_type": "image"}, {"name": "Test Asset 2", "url": "http://example.com/test_asset_2", "link_type": "other"}]}')