Add test for writable permission on REPO_DIR

pull/975/head
Kyungdahm Yun 2020-10-19 21:49:09 -07:00
rodzic 8f714b48be
commit 81513b06d6
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -13,5 +13,8 @@ assert sys.executable.startswith("/srv/conda/"), sys.executable
assert os.path.exists("/srv/repo/verify")
assert os.path.abspath(__file__) == "/srv/repo/verify"
# Repo should be writable
assert os.access("/srv/repo", os.W_OK)
# We should be able to import the package in environment.yml
import numpy