def test_geo_string_with_wrong_code_letters(self):
     """Test that island dict maker raises ValueError when it detects unknown landscape
        code.
        """
     geo_string = """\
                         OOOO
                         OSLO
                         OOOO
                         """
     with pytest.raises(ValueError):
         Island._island_dict_maker(geo_string)
 def test_geo_string_works_with_upper_and_lower_case(self):
     """Test that the island dict maker method passes when geo string is both
        lower and upper case.
     """
     geo_string = """\
                 OOOOOOOOoOOO
                 OOOJJSSSsMMO
                 OSSSsSJjJJMO
                 OOOoOOOOoooO
                 """
     island_dict = Island._island_dict_maker(geo_string)