diff --git a/tests/custom_apps_test.py b/tests/custom_apps_test.py index 5829345..362bc37 100644 --- a/tests/custom_apps_test.py +++ b/tests/custom_apps_test.py @@ -6,11 +6,11 @@ from pathlib import Path class CustomAppsTest(unittest.TestCase): def setUp(self): - self.custom = CustomApps() + self.custom = CustomApps(brands=["dwds"], build_number=1) def test_custom_plist(self): self.custom.create_plists( - custom_plist=Path()/"tests"/"Support"/"Info.plist") + custom_plist=Path("tests")/"Support"/"Info.plist") def test_custom_project_creation(self): self.custom.create_custom_project_file( diff --git a/tests/info_parser_test.py b/tests/info_parser_test.py index 5b29923..b35cc38 100644 --- a/tests/info_parser_test.py +++ b/tests/info_parser_test.py @@ -8,7 +8,7 @@ import os class InfoParserTest(unittest.TestCase): def setUp(self): - self.parser = InfoParser(Path("tests")/"test.json") + self.parser = InfoParser(Path("tests")/"test.json", build_number=1) def test_json_to_project_yml(self): project = self.parser.as_project_yml() @@ -46,7 +46,7 @@ class InfoParserTest(unittest.TestCase): self.assertIn("**/*.lproj", excluded) def test_app_version_with_default_json_build_number(self): - self.assertEqual(self.parser.version.semantic, "2023.12.3") + self.assertEqual(self.parser.version.semantic, "2023.12.1") def test_app_version_using_a_specific_build_number(self): parser = InfoParser(Path("tests")/"test.json", build_number=15)