X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/4f8716dc13aa14bf586dd78002d6bf4d331bc656..f7a6afa2b8b554ecc0ca50e2dfb18f65b8c7d928:/library/tests/test_setup.py?ds=inline diff --git a/library/tests/test_setup.py b/library/tests/test_setup.py index af3ed82..b912a37 100644 --- a/library/tests/test_setup.py +++ b/library/tests/test_setup.py @@ -15,7 +15,7 @@ def test_gas_setup(): smbus = mock.Mock() smbus.SMBus = SMBusFakeDevice sys.modules['smbus'] = smbus - from envirophatplus import gas + from enviroplus import gas gas.setup() gas.setup() @@ -26,7 +26,7 @@ def test_gas_read_all(): smbus = mock.Mock() smbus.SMBus = SMBusFakeDevice sys.modules['smbus'] = smbus - from envirophatplus import gas + from enviroplus import gas result = gas.read_all() assert type(result.oxidising) == float @@ -47,7 +47,7 @@ def test_gas_read_each(): smbus = mock.Mock() smbus.SMBus = SMBusFakeDevice sys.modules['smbus'] = smbus - from envirophatplus import gas + from enviroplus import gas assert int(gas.read_oxidising()) == 16641 assert int(gas.read_reducing()) == 16727