Ejemplo n.º 1
0
 def test_input_string_already_has_slash_return_as_is(self):
     self.assertEqual(votation_year('2005/06'), '2005/06')
Ejemplo n.º 2
0
 def test_input_string(self):
     self.assertEqual(votation_year('2004'), '2004/05')
Ejemplo n.º 3
0
 def test_input_number(self):
     self.assertEqual(votation_year(2003), '2003/04')
Ejemplo n.º 4
0
 def test_input_string_already_has_slash_return_as_is(self):
     self.assertEqual(votation_year('2005/06'), '2005/06')
Ejemplo n.º 5
0
 def test_input_string(self):
     self.assertEqual(votation_year('2004'), '2004/05')
Ejemplo n.º 6
0
 def test_input_number(self):
     self.assertEqual(votation_year(2003), '2003/04')