Skip to content

Commit 7481cc6

Browse files
Update docs, bump version, and add deps into dev environment.
1 parent bbb02f5 commit 7481cc6

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM mcr.microsoft.com/devcontainers/python:3.7-bullseye
44
RUN \
55
apt update && \
66
apt-get install bash-completion graphviz default-mysql-client -y && \
7-
pip install flake8 black faker ipykernel nose nose-cov datajoint && \
7+
pip install flake8 black faker ipykernel pytest pytest-cov nose nose-cov datajoint && \
88
pip uninstall datajoint -y
99

1010
ENV DJ_HOST fakeservices.datajoint.io

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Release notes
22

3+
### 0.14.1 -- TBD
4+
- Added - Initial `pytest` for `test_connection`
5+
36
### 0.14.0 -- Feb 13, 2023
47
- Added - `json` data type ([#245](https://github.com/datajoint/datajoint-python/issues/245)) PR [#1051](https://github.com/datajoint/datajoint-python/pull/1051)
58
- Fixed - Activating a schema requires all tables to exist even if `create_tables=False` PR [#1058](https://github.com/datajoint/datajoint-python/pull/1058)

datajoint/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = "0.14.0"
1+
__version__ = "0.14.1"
22

33
assert len(__version__) <= 10 # The log table limits version to the 10 characters

docs/src/develop.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,24 @@ The following will verify there are no regression errors by running our test sui
3939

4040
- Entire test suite:
4141
```
42-
nosetests -vw tests
42+
nosetests -vw tests_old
4343
```
44+
> Note: We are in the process of upgrading to `pytest` tests. To run those, use:
45+
> ```
46+
> pytest -sv --cov-report term-missing --cov=datajoint tests
47+
> ```
48+
4449
- A single functional test:
4550
```
46-
nosetests -vs --tests=tests.test_external_class:test_insert_and_fetch
51+
nosetests -vs --tests=tests_old.test_external_class:test_insert_and_fetch
4752
```
53+
> Note: We are in the process of upgrading to `pytest` tests. To run those, use:
54+
> ```
55+
> pytest -sv tests/test_connection.py::test_dj_conn
56+
> ```
4857
- A single class test:
4958
```
50-
nosetests -vs --tests=tests.test_fetch:TestFetch.test_getattribute_for_fetch1
59+
nosetests -vs --tests=tests_old.test_fetch:TestFetch.test_getattribute_for_fetch1
5160
```
5261
5362
### Style Tests

0 commit comments

Comments
 (0)