pull/226/head
Min RK 2018-02-09 12:29:20 +01:00
rodzic c857f438b3
commit 85fd7cff31
2 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -62,7 +62,11 @@ class LocalRepo(pytest.File):
def collect(self):
yield Repo2DockerTest(
self.fspath.basename, self,
args=[self.fspath.dirname, './verify'],
args=[
'--appendix', 'RUN echo "appendix" > /tmp/appendix',
self.fspath.dirname,
'./verify',
],
)

Wyświetl plik

@ -2,5 +2,8 @@
# Verify that the default just provides a py3 environment with jupyter
import sys
assert sys.version_info[:2] == (3, 6)
assert sys.version_info[:2] == (3, 6), sys.version
import jupyter
with open('/tmp/appendix') as f:
assert f.read().strip() == 'appendix'