def test_get_flag_Bolivia(self): self.assertEqual( get_flag( "//upload.wikimedia.org/wikipedia/commons/thumb/d/de/Flag_of_Bolivia_%28state%29.svg/147px-Flag_of_Bolivia_%28state%29.svg.png" ), 'Flag_of_Bolivia.svg')
def test_get_flag_Belgium(self): self.assertEqual( get_flag( "//upload.wikimedia.org/wikipedia/commons/thumb/9/92/Flag_of_Belgium_%28civil%29.svg/150px-Flag_of_Belgium_%28civil%29.svg.png" ), 'Flag_of_Belgium.svg')
def test_get_flag_Australia(self): self.assertEqual( get_flag( "//upload.wikimedia.org/wikipedia/commons/thumb/8/88/Flag_of_Australia_%28converted%29.svg/200px-Flag_of_Australia_%28converted%29.svg.png" ), 'Flag_of_Australia.svg')
def test_get_flag_Japan(self): self.assertEqual( get_flag( '//upload.wikimedia.org/wikipedia/en/thumb/9/9e/Flag_of_Japan.svg/150px-Flag_of_Japan.svg.png' ), 'Flag_of_Japan.svg')
def test_get_flag_Transnistria(self): self.assertEqual( get_flag( "//upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Flag_of_Transnistria_%28state%29.svg/200px-Flag_of_Transnistria_%28state%29.svg.png" ), 'Flag_of_Transnistria_%28state%29.svg')
def test_get_flag_Switzerland(self): self.assertEqual( get_flag( "//upload.wikimedia.org/wikipedia/commons/thumb/0/08/Flag_of_Switzerland_%28Pantone%29.svg/100px-Flag_of_Switzerland_%28Pantone%29.svg.png" ), 'Flag_of_Switzerland.svg')