def test_standardize_rate(self): self.assertTrue(standardize_rate('1.7') == '0.017') self.assertTrue(standardize_rate('0.017') == '0.017')
def test_standardize_rate(self): self.assertTrue(standardize_rate(u'1.7') == u'0.017') self.assertTrue(standardize_rate(u'0.017') == u'0.017')