File tree Expand file tree Collapse file tree 4 files changed +6
-15
lines changed Expand file tree Collapse file tree 4 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM ${IMAGE}
4
4
USER jovyan
5
5
RUN conda install -y -n base -c conda-forge python=${PY_VER} git graphviz pydot && \
6
6
conda clean -afy
7
- COPY --chown=1000:100 ./pyproject.toml ./README.md ./LICENSE.txt ./datajoint.pub /main/
7
+ COPY --chown=1000:100 ./pyproject.toml ./README.md ./LICENSE.txt /main/
8
8
COPY --chown=1000:100 ./datajoint /main/datajoint
9
9
RUN \
10
10
pip install --no-cache-dir /main && \
Original file line number Diff line number Diff line change @@ -63,9 +63,6 @@ datajoint = "datajoint.cli:cli"
63
63
[tool .setuptools ]
64
64
packages = [" datajoint" ]
65
65
66
- [tool .setuptools .package-data ]
67
- datajoint = [" datajoint.pub" ]
68
-
69
66
[build-system ]
70
67
requires = [
71
68
" setuptools>=60" ,
Original file line number Diff line number Diff line change @@ -102,14 +102,7 @@ class IJ(dj.Lookup):
102
102
{"i" : 2 , "j" : 3 },
103
103
{"i" : 2 , "j" : 4 },
104
104
]
105
- assert (
106
- "\
107
- dj repl\n \n \
108
- \
109
- schema modules:\n \n \
110
- - test_schema"
111
- == stderr [159 :200 ]
112
- )
113
- assert "'test_schema'" == stdout [4 :17 ]
114
- assert "Schema `djtest_cli`" == stdout [22 :41 ]
115
- assert fetch_res == json .loads (stdout [47 :209 ].replace ("'" , '"' ))
105
+
106
+ cleaned = stdout .strip (" >\t \n \r " )
107
+ for key in ("test_schema" , "Schema `djtest_cli`" ,):
108
+ assert key in cleaned , f"Key { key } not found in config from stdout: { cleaned } "
Original file line number Diff line number Diff line change 5
5
from os import path
6
6
7
7
8
+ @pytest .mark .skip (reason = "marked for deprecation" )
8
9
def test_check_pubkey ():
9
10
base_name = "datajoint"
10
11
base_meta = pkg_resources .get_distribution (base_name )
You can’t perform that action at this time.
0 commit comments