Import at top
This commit is contained in:
parent
3aa8503803
commit
56ce02c234
@ -1,4 +1,5 @@
|
|||||||
import pytest
|
import pytest
|
||||||
|
import os
|
||||||
|
|
||||||
from shlax import Image
|
from shlax import Image
|
||||||
|
|
||||||
@ -25,7 +26,6 @@ def test_args(arg, expected):
|
|||||||
assert getattr(im, k) == v
|
assert getattr(im, k) == v
|
||||||
|
|
||||||
def test_args_env():
|
def test_args_env():
|
||||||
import os
|
|
||||||
os.environ.setdefault('CIRCLE_TAG', 'foo')
|
os.environ.setdefault('CIRCLE_TAG', 'foo')
|
||||||
im = Image('re/po:x,y')
|
im = Image('re/po:x,y')
|
||||||
assert im.tags == ['x', 'y'] + [
|
assert im.tags == ['x', 'y'] + [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user