test appendix
MODIFY
tests/conftest.py
tests/conftest.py
@@ -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',
+ ],
)

MODIFY
tests/venv/default/verify
tests/venv/default/verify
# 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'

test appendix