repo2docker/tests/conda/default-env/verify.py

14 wiersze
282 B
Python

#!/usr/bin/env python
import os
import sys
def test_sys_prefix():
# verify that pytest was installed in the notebook env
assert sys.prefix == os.environ["KERNEL_PYTHON_PREFIX"]
def test_there():
# verify that there was installed in the notebook env
import there