Example #1
0
def test_install_solc(msolc):
    assert Version("0.5.10") not in msolc
    assert Version("0.6.0") not in msolc
    compiler.install_solc(Version("0.6.0"), Version("0.5.10"))
    assert Version("0.5.10") in msolc
    assert Version("0.6.0") in msolc
Example #2
0
def test_install_solc(msolc):
    assert "v0.5.10" not in msolc
    assert "v0.6.0" not in msolc
    compiler.install_solc("0.6.0", "0.5.10")
    assert "v0.5.10" in msolc
    assert "v0.6.0" in msolc
Example #3
0
def test_install_solc(msolc):
    assert 'v0.5.10' not in msolc
    assert 'v0.6.0' not in msolc
    compiler.install_solc('0.6.0', '0.5.10')
    assert 'v0.5.10' in msolc
    assert 'v0.6.0' in msolc