def test_std_val_other_prefixed_string(self): with self.assertRaises(ValueError): _std_val('B15', 'A')
def test_std_val_negative_int(self): with self.assertRaises(ValueError): _std_val(-14, 'A')
def test_std_val_other_string(self): with self.assertRaises(ValueError): _std_val('Foo', 'A')
def test_std_val_int_string(self): self.assertEqual(_std_val('12', 'A'), 'A12')
def test_std_val_prefixed_string(self): self.assertEqual(_std_val('A13', 'A'), 'A13')
def test_std_val_empty_string(self): with self.assertRaises(ValueError): _std_val('', 'A')
def test_std_val_int(self): self.assertEqual(_std_val(11, 'A'), 'A11')
def test_std_val_none(self): with self.assertRaises(ValueError): _std_val(None, 'A')