예제 #1
0
 def test_last(self):
     ver = dukpy_install._resolve_version('', self.VERSIONS)
     assert ver == '15.0.1', ver
예제 #2
0
 def test_equality(self):
     ver = dukpy_install._resolve_version('0.2.4', self.VERSIONS)
     assert ver == '0.2.4', ver
예제 #3
0
 def test_caret_versioning(self):
     ver = dukpy_install._resolve_version('^0.x', self.VERSIONS)
     assert ver == '0.14.8', ver
예제 #4
0
 def test_tilde_versioning(self):
     ver = dukpy_install._resolve_version('~0.14.x', self.VERSIONS)
     assert ver == '0.14.8', ver
예제 #5
0
 def test_last(self):
     ver = dukpy_install._resolve_version('', self.VERSIONS)
     assert ver == '15.0.1', ver
예제 #6
0
 def test_equality(self):
     ver = dukpy_install._resolve_version('0.2.4', self.VERSIONS)
     assert ver == '0.2.4', ver