aboutsummaryrefslogtreecommitdiff
path: root/tests/test_utils.py
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-05-11 00:40:48 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-05-11 00:40:51 -0400
commit709b437ffe4d7f03ea794062d9e1b9366826a1db (patch)
tree6978af663496f1f9ec2e234dfee94353061240d5 /tests/test_utils.py
parent8cdfaacd3c1cf4a1ecb15562934086a5b89a888b (diff)
downloaddelivery_merge-709b437ffe4d7f03ea794062d9e1b9366826a1db.tar.gz
Improve tests
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r--tests/test_utils.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py
index f4eceb5..f51ea03 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -1,5 +1,4 @@
import os
-import pytest
from delivery_merge import utils
@@ -46,10 +45,6 @@ class TestUtils:
result = utils.getenv("INFINITE_FUN=LINE=10")
assert result.get('INFINITE_FUN') == 'LINE=10'
- def test_getenv_multi_equal(self):
- result = utils.getenv("INFINITE_FUN=LINE=10")
- assert result.get('INFINITE_FUN') == 'LINE=10'
-
def test_pushd(self):
orig_path = os.path.abspath('.')
d = os.path.join(orig_path, 'pushd_test')
@@ -58,7 +53,7 @@ class TestUtils:
os.mkdir(d)
with utils.pushd(d):
- new_path = os.path.abspath('.')
- assert new_path == os.path.join(orig_path, d)
+ new_path = os.path.abspath('.')
+ assert new_path == os.path.join(orig_path, d)
assert os.path.abspath('.') == orig_path