Exemple #1
0
 def test_tenths_version(self):
     """Test the filter that turns 1.2.3 into 1.2."""
     eq_(_tenths_version("1.2.3beta3"), "1.2")
     eq_(_tenths_version("1.2rc"), "1.2")
     eq_(_tenths_version("1.w"), "")
Exemple #2
0
 def test_tenths_version(self):
     """Test the filter that turns 1.2.3 into 1.2."""
     eq_(_tenths_version('1.2.3beta3'), '1.2')
     eq_(_tenths_version('1.2rc'), '1.2')
     eq_(_tenths_version('1.w'), '')
Exemple #3
0
 def test_tenths_version(self):
     """Test the filter that turns 1.2.3 into 1.2."""
     eq_(_tenths_version('1.2.3beta3'), '1.2')
     eq_(_tenths_version('1.2rc'), '1.2')
     eq_(_tenths_version('1.w'), '')