Commit Graph

27 Commits

Author SHA1 Message Date
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
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
Ayaz Salikhov
94cd03d6b9 Fix python codestyle 2020-07-04 18:30:53 +02:00
romainx
5519470151 Fix comment 2020-05-21 21:28:11 +02:00
romainx
bcf1f53229 Fix #1077
* Documentation `common.md` updated
* `test_nb_user_change` test written
2020-05-02 17:25:14 +02:00
romainx
45d51e3b42 Bump to spark 2.4.5 + minor improvements 2020-02-11 21:30:47 +01:00
Brett Randall
e29f669fb8 Added CHOWN_EXTRA test.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-03-20 15:10:09 +11:00
Richard Darst
fc72be36ad Update group handling: set primary gid, leave suplemental with group users
- If NB_GID is set, it is likely that files created should have NB_GID
  as their gid (if it doesn't matter, then this change is irrelevant.
  If it does matter, the liklihood that 100 matches with what the user
  wants is low).
- When NB_GID is set, create a new group with that gid.  Then, set
  this as the primary gid of the user.  Set the user's supplemental
  gids to NB_GID,100.
2018-08-02 10:27:29 +03:00
Peter Parente
19f1bd92f4 Fix second test_gid_change expectation 2018-06-29 08:33:12 -04:00
Peter Parente
611526cdc4 Fix test_gid_change expectation 2018-06-28 22:29:59 -04:00
Chris Zubak-Skees
27cf7035ec Fix to check dict status code response in test_container_options 2018-02-04 13:01:28 -05:00
Bonnotte, Nicolas
c6c6819a6e Add /bin to sudo secure_path 2018-01-18 17:51:06 +01:00
Peter Parente
a3cfda28da Verify path prefix in test 2018-01-04 22:51:16 -05:00
Peter Parente
6fa67cc500 Append $CONDA_DIR/bin to sudo secure_path
Retain behavior when su was used instead
2018-01-04 00:09:07 -05:00
Peter Parente
fb01654930 Fix test to use bash for multiple commands 2017-12-29 19:37:07 -05:00
Peter Parente
240285841a Remove mount permissions test
Not really testing a docker-stacks feature, only
that docker host permissions work
2017-12-16 23:03:26 -05:00
Peter Parente
167a0cb0c4 Fix mount test on CI 2017-12-02 22:03:44 -05:00
Peter Parente
803dc0c75b Fix bogus assert, add mount test 2017-12-01 22:52:00 -05:00
Peter Parente
b9139131da Tests for NB_UID, NB_GID, GRANT_SUDO options
* Improve test container teardown
* Fix needless groupmod when NB_GID is unchanged
2017-11-30 00:15:17 -05:00
Peter Parente
8a59d74813 Refactor to share fixtures with option tests 2017-11-28 23:57:05 -05:00
Peter Parente
6ba0d59446 Add placeholder tests for base-notebook 2017-11-27 23:28:11 -05:00