def setup(self): self.requested = '1.90.0' useVersion(self.requested)
def test_older_version(self): assert (useVersion(self.requested))
def test_currentVersion(self): vers = useVersion('1.90.0') assert (vers == '1.90.0')
def test_currentVersion(): vers = useVersion(requested) assert vers == requested
def test_compatible(self): assert (useVersion('1.90.0'))
def test_raise_error(self): if constants.PY3: with pytest.raises(RuntimeError): useVersion('1.80.0')