kopia lustrzana https://github.com/jupyterhub/repo2docker
test appendix
rodzic
c857f438b3
commit
85fd7cff31
|
@ -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',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Ładowanie…
Reference in New Issue