Commit Graph

70 Commits

Author SHA1 Message Date
Ayaz Salikhov
1d4bd5d178 Update base-notebook/test/test_container_options.py 2022-01-30 01:49:54 +03:00
Ben Mares
cae8f83833 Add test_secure_path 2022-01-29 20:44:21 +01:00
Ayaz Salikhov
37c510fc8e Fix all typing issues 2022-01-23 12:44:16 +03:00
Ayaz Salikhov
e12ecdb67a Better warnings 2022-01-22 09:17:26 +02:00
Ayaz Salikhov
12b618c5da Unify docker usage in tests 2022-01-22 00:46:20 +02:00
romainx
c954633981 JUPYTER_CMD -> DOCKER_STACKS_JUPYTER_CMD (review) 2022-01-20 23:32:52 +01:00
romainx
7e049373af Merge branch 'fix-1217-1' of https://github.com/romainx/docker-stacks into fix-1217-1 2022-01-20 09:41:07 +01:00
romainx
1178c33e27 Fix comand and improve tests 2022-01-20 09:12:38 +01:00
Ayaz Salikhov
39ae7d2202 Fix typing 2022-01-19 23:37:45 +02:00
romainx
de087bb1a3 Test improved (review) 2022-01-19 18:12:15 +01:00
romainx
1d8d7df242 Default to JupyterLab
Introduce a new `JUPYTER_CMD` option
2022-01-19 12:15:54 +01:00
Ayaz Salikhov
2a1316c9ac Add some typing to tests 2022-01-18 19:13:17 +03:00
Ben Mares
edd0bf71a6 Log before assert 2021-12-14 22:40:45 +01:00
Ben Mares
8958ba7592 Warn if NB_USER not jovyan and can't rename home 2021-12-14 21:12:09 +01:00
Ben Mares
c772e98ac7 Fix spurious error messages with altered uid 2021-12-14 21:12:09 +01:00
Ben Mares
709206ac87 Check base-notebook test logs for ERROR/WARNING 2021-12-14 21:12:08 +01:00
Ayaz Salikhov
5cb44a8507 Merge pull request #1524 from maresb/unset
start.sh: JUPYTER_ENV_VARS_TO_UNSET introduced
2021-11-15 18:42:53 +03:00
Ayaz Salikhov
058229dc3a Add non-root test 2021-11-15 16:11:58 +03:00
Ben Mares
f5753abc5c Update test for altered Notebook deprecation warning 2021-11-14 11:24:52 +01:00
Ayaz Salikhov
b6ab91a606 Fix an example 2021-11-12 19:45:28 +03:00
Erik Sundell
ee0105a8a5 start.sh: JUPYTER_ENV_VARS_TO_UNSET introduced
Allow you to define variables to be unset before running the command
that start.sh is supposed to start. These variables will still be
available in the hooks run before.
2021-11-11 22:48:20 +01:00
Erik Sundell
018e5fc962 start.sh: tests, docs, and refinements 2021-11-08 16:29:11 +01:00
pre-commit-ci[bot]
7494214259 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-09-15 14:57:47 +00:00
Thijs Walcarius
891ddbc106 Add test for copying of hidden folder
Test if the hidden `.jupyter` folder is properly copied when the user is changed via `NB_USER` environment variable. This folder should exist as `jupyter notebook --generate-config` is executed to generate `/home/jovyan/.jupyter/jupyter_notebook_config.py` .

Test for fix #1466 for issue #1465.
2021-09-15 16:56:02 +02:00
rigzba21
d29e6c25ac adding rv check to test 2021-08-06 16:11:00 -04:00
rigzba21
0dbce4526e removing rsync dependency, using cp -R instead, reducing wait time in test 2021-08-06 14:55:58 -04:00
rigzba21
9d9b76909d fixing bashate and flake8 errors 2021-08-06 13:19:39 -04:00
pre-commit-ci[bot]
437e736c7d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-08-06 16:25:29 +00:00
rigzba21
364e5de012 updating test description 2021-08-06 12:11:30 -04:00
rigzba21
c5fe6a1f5f adding test to check if container deleted files on container bind mount 2021-08-06 07:53:49 -04:00
Erik Sundell
411663b5d4 black style tweaks: add trailing commas 2021-06-28 22:07:26 +02:00
Erik Sundell
962a630f53 Apply suggestions from code review
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2021-06-28 22:07:26 +02:00
Erik Sundell
fe3968efe0 pre-commit: run black autoformatter on all files 2021-06-28 22:07:23 +02:00
Ayaz Salikhov
5c860df8c4 Move assert after logs output to make debug easier 2021-06-27 13:19:05 +03:00
Ayaz Salikhov
4828b4146f Fix style in tests 2021-06-27 12:32:26 +03:00
romainx
1c5c2d945a Install tini as an ubuntu package 2021-05-19 09:23:33 +02:00
Ayaz Salikhov
691422b6ca Update miniforge to 4.10.1 and python version to 3.9.2 2021-05-06 14:46:20 +03:00
romainx
672c4cce40 Wording 2021-05-06 07:01:57 +02:00
romainx
4b243e8401 Test Python version 2021-05-05 21:19:13 +02:00
romainx
202211fe97 Add pip in the package manager test 2021-02-27 18:01:04 +01:00
romainx
e94e28404b Formatting 2021-02-27 17:46:56 +01:00
romainx
e8139fdf85 Mamba in base-notebook 2021-02-27 17:29:00 +01:00
romainx
13bf51f6a7 Fix according to the review 2021-01-18 18:02:29 +01:00
romainx
0660736ac0 Changes following the review 2021-01-18 07:43:26 +01:00
romainx
b7aad78b82 Switch to JupyterLab by default 2021-01-08 09:13:01 +01:00
Steven Stetzler
127f3bfe0b shuffle workdir option in tests 2020-11-10 21:48:08 +00:00
Ayaz Salikhov
e3085ca89e Merge branch 'master' into asalikhov/py_codestyle 2020-09-28 06:37:23 +03:00
romainx
39dc7752e8 Fixed test test_cli_args
Changed `""` into `''` to pass an empty token. Seems to be linked to this warning:
```
/opt/conda/lib/python3.8/site-packages/traitlets/traitlets.py:2195: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '' instead of "''" – or use CUnicode.
```

Added debug information (ouput of the command line).
2020-09-10 20:00:24 +02:00
Ayaz Salikhov
530e2b3834 Merge branch 'master' into asalikhov/py_codestyle 2020-08-16 20:02:40 +03:00
Peter Parente
0f1ebea3c7 Fix missing container wait in test 2020-07-30 07:50:16 -04:00