class Main_morse_coding_Matchers(unittest.TestCase): def setUp(self): self.temp = Main() def test_Morse_coding_check_result_length_higher_and_string_and_contain_spaces( self): argument = 'wiktor 1' assert_that( self.temp.Morse_coding(argument) ).check_result_length_higher_and_string_and_contain_spaces(argument) def test_Morse_coding_check_result_contain_single_spaces_beetween_morse( self): argument = 'Testowanie' assert_that( self.temp.Morse_coding(argument) ).check_result_contain_single_spaces_beetween_morse(argument)