kopia lustrzana https://github.com/jupyterhub/repo2docker
Add tests for IJulia kernel location
rodzic
56245a8281
commit
8f29686fb6
|
@ -17,4 +17,12 @@ catch
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Verify that kernels are not installed in home directory (issue #620)
|
||||||
|
try
|
||||||
|
using IJulia
|
||||||
|
@assert IJulia.kerneldir() == "/srv/conda/share/jupyter/kernels"
|
||||||
|
catch
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
|
@ -17,4 +17,12 @@ catch
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Verify that kernels are not installed in home directory (issue #620)
|
||||||
|
try
|
||||||
|
using IJulia
|
||||||
|
@assert IJulia.kerneldir() == "/srv/conda/share/jupyter/kernels"
|
||||||
|
catch
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
|
@ -14,4 +14,12 @@ catch
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Verify that kernels are not installed in home directory (issue #620)
|
||||||
|
try
|
||||||
|
using IJulia
|
||||||
|
@assert IJulia.kerneldir() == "/srv/conda/share/jupyter/kernels"
|
||||||
|
catch
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
|
@ -14,4 +14,12 @@ catch
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Verify that kernels are not installed in home directory (issue #620)
|
||||||
|
try
|
||||||
|
using IJulia
|
||||||
|
@assert IJulia.kerneldir() == "/srv/conda/share/jupyter/kernels"
|
||||||
|
catch
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
|
@ -14,4 +14,12 @@ catch
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Verify that kernels are not installed in home directory (issue #620)
|
||||||
|
try
|
||||||
|
using IJulia
|
||||||
|
@assert IJulia.kerneldir() == "/srv/conda/share/jupyter/kernels"
|
||||||
|
catch
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
|
@ -14,4 +14,12 @@ catch
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Verify that kernels are not installed in home directory (issue #620)
|
||||||
|
try
|
||||||
|
using IJulia
|
||||||
|
@assert IJulia.kerneldir() == "/srv/conda/share/jupyter/kernels"
|
||||||
|
catch
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
Ładowanie…
Reference in New Issue