kopia lustrzana https://github.com/jupyterhub/repo2docker
14 wiersze
282 B
Python
Executable File
14 wiersze
282 B
Python
Executable File
#!/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
|