Fix CI command to build

This commit is contained in:
jpic
2020-05-31 05:15:15 +02:00
parent 1373196eb5
commit 363bdb1493
8 changed files with 99 additions and 34 deletions
-6
View File
@@ -25,9 +25,3 @@ def test_args(arg, expected):
im = Image(arg)
for k, v in expected.items():
assert getattr(im, k) == v
def test_args_env():
os.environ['IMAGE_TEST_ARGS_ENV'] = 'foo'
Image.ENV_TAGS = ['IMAGE_TEST_ARGS_ENV']
im = Image('re/po:x,y')
assert im.tags == ['x', 'y', 'foo']