<reponame>TestowanieAutomatyczneUG/projekt-i-Darkstaron123<filename>tests/test_parameterizedTestMethodLevel.py
import unittest
from parameterized import parameterized
from src.menuClass import MenuClass

class MenuClass_chooseLanguage_MethodLevel(unittest.TestCase):# Poziom Method
    def setUp(self):
        self.tmp = MenuClass()

    @parameterized.expand([
        ("EN", "EN"),
        ("EN", "EN"),
    ])
    def test_chooseLanguage_parameterized(self,choose, expected):
        self.assertEqual(self.tmp.chooseLanguage(choose), expected)
import unittest
from parameterized import parameterized
from src.menuClass import MenuClass

class MenuClass_chooseLanguage_MethodLevel(unittest.TestCase):# Poziom Method
    def setUp(self):
        self.tmp = MenuClass()

    @parameterized.expand([
        ("EN", "EN"),
        ("EN", "EN"),
    ])
    def test_chooseLanguage_parameterized(self,choose, expected):
        self.assertEqual(self.tmp.chooseLanguage(choose), expected)
# Poziom Method