Exemplo n.º 1
0
 def test_has_beta(self):
     """Test the _has_beta helper."""
     assert _has_beta("5.0", {"5.0b3": "2011-06-01"})
     assert not _has_beta("6.0", {"5.0b3": "2011-06-01"})
     assert not _has_beta("5.5", {"5.0b3": "2011-06-01"})
     assert _has_beta("5.7", {"5.7b1": "2011-06-01"})
     assert _has_beta("11.0", {"11.0b7": "2011-06-01"})
     assert not _has_beta("10.0", {"11.0b7": "2011-06-01"})
Exemplo n.º 2
0
 def test_has_beta(self):
     """Test the _has_beta helper."""
     assert _has_beta('5.0', {'5.0b3': '2011-06-01'})
     assert not _has_beta('6.0', {'5.0b3': '2011-06-01'})
     assert not _has_beta('5.5', {'5.0b3': '2011-06-01'})
     assert _has_beta('5.7', {'5.7b1': '2011-06-01'})
     assert _has_beta('11.0', {'11.0b7': '2011-06-01'})
     assert not _has_beta('10.0', {'11.0b7': '2011-06-01'})
Exemplo n.º 3
0
 def test_has_beta(self):
     """Test the _has_beta helper."""
     assert _has_beta('5.0', {'5.0b3': '2011-06-01'})
     assert not _has_beta('6.0', {'5.0b3': '2011-06-01'})
     assert not _has_beta('5.5', {'5.0b3': '2011-06-01'})
     assert _has_beta('5.7', {'5.7b1': '2011-06-01'})
     assert _has_beta('11.0', {'11.0b7': '2011-06-01'})
     assert not _has_beta('10.0', {'11.0b7': '2011-06-01'})