diff --git a/craftclash/tests/test_aboutscreen.py b/craftclash/tests/test_aboutscreen.py index ff3a5c7..14035b1 100644 --- a/craftclash/tests/test_aboutscreen.py +++ b/craftclash/tests/test_aboutscreen.py @@ -9,6 +9,7 @@ import unittest from aboutscreen import aboutscreen # assuming AboutScreen is a class in aboutscreen.py + class TestAboutScreen(unittest.TestCase): def setUp(self): self.about_screen = aboutscreen() @@ -16,5 +17,6 @@ def setUp(self): def test_init(self): self.assertIsNotNone(self.about_screen) -if __name__ == '__main__': - unittest.main() \ No newline at end of file + +if __name__ == "__main__": + unittest.main() diff --git a/craftclash/tests/test_optionscreen.py b/craftclash/tests/test_optionscreen.py index 14ef8b6..55dd5e2 100644 --- a/craftclash/tests/test_optionscreen.py +++ b/craftclash/tests/test_optionscreen.py @@ -7,7 +7,10 @@ sys.path.append(os.path.join(parent_dir)) import unittest -from optionscreen import optionsscreen # assuming OptionScreen is a class in optionscreen.py +from optionscreen import ( + optionsscreen, +) # assuming OptionScreen is a class in optionscreen.py + class TestOptionScreen(unittest.TestCase): def setUp(self): @@ -16,5 +19,6 @@ def setUp(self): def test_init(self): self.assertIsNotNone(self.option_screen) -if __name__ == '__main__': - unittest.main() \ No newline at end of file + +if __name__ == "__main__": + unittest.main() diff --git a/tests/test_main.py b/tests/test_main.py index 27c1492..74d3d32 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -11,6 +11,7 @@ from tkinter import Tk from main import craftclash + class TestCraftClash(unittest.TestCase): def setUp(self): self.app = craftclash() @@ -18,5 +19,6 @@ def setUp(self): def test_window_title(self): self.assertEqual(self.app.title(), "CraftClash - Windows - 0.0.4 BETA") -if __name__ == '__main__': + +if __name__ == "__main__": unittest.main()