Created
July 27, 2016 08:30
-
-
Save zindel/6b0baf82d2a534841b129135719ff344 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(study)~/dev/study/src/rex.study.model [default]$ pbbt | |
======================================================================== | |
REX.STUDY.MAIN [/rex.study.main] | |
("test/input.yaml", line 5) | |
------------------------------------------------------------------------ | |
RMDIR: ./build/sandbox | |
("test/input.yaml", line 8) | |
------------------------------------------------------------------------ | |
MKDIR: ./build/sandbox | |
("test/input.yaml", line 9) | |
------------------------------------------------------------------------ | |
MKDIR: ./build/sandbox/attach_dir | |
("test/input.yaml", line 10) | |
------------------------------------------------------------------------ | |
RMDIR: ./build/coverage | |
("test/input.yaml", line 11) | |
------------------------------------------------------------------------ | |
MKDIR: ./build/coverage | |
("test/input.yaml", line 12) | |
------------------------------------------------------------------------ | |
COVERAGE: setup.cfg | |
("test/input.yaml", line 13) | |
------------------------------------------------------------------------ | |
SH: pip install -q -e ./demo | |
("test/input.yaml", line 16) | |
------------------------------------------------------------------------ | |
SH: rex dropdb rex.study.model_demo --quiet --set db=pgsql:study_model_demo | |
("test/input.yaml", line 17) | |
------------------------------------------------------------------------ | |
SH: rex deploy rex.study.model_demo --quiet --set db=pgsql:study_model_demo | |
("test/input.yaml", line 19) | |
------------------------------------------------------------------------ | |
DOCTEST: README.rst | |
("test/input.yaml", line 21) | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_individual_triggers.rst | |
("test/input.yaml", line 22) | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_study_triggers.rst | |
("test/input.yaml", line 23) | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_relationship_triggers.rst | |
("test/input.yaml", line 24) | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_tube_usage_triggers.rst | |
("test/input.yaml", line 25) | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_study_enrollment_triggers.rst | |
("test/input.yaml", line 26) | |
* some tests failed | |
********************************************************************** | |
File "test/test_study_enrollment_triggers.rst", line 68, in test_study_enrollment_tr | |
iggers.rst | |
Failed example: | |
run(query) | |
Expected: | |
| participant_group | | |
-+---------------------+- | |
| demo-study.1.second | | |
Got: | |
Got a blank field value: | |
Participant Group . Title | |
Which triggered an error from the database driver: | |
null value in column "title" violates not-null constraint | |
DETAIL: Failing row contains (7, 1, second, null, null). | |
While inserting record #1: | |
{'demo-study.1', 'second'} | |
While processing: | |
} :as participant_group /:insert | |
^^^^^^ | |
********************************************************************** | |
File "test/test_study_enrollment_triggers.rst", line 91, in test_study_enrollment_tr | |
iggers.rst | |
Failed example: | |
run(query) | |
Expected: | |
| Study Enrollment | | |
+-------------------+ | |
| Participant Group | | |
-+-------------------+- | |
| | | |
Got: | |
| Study Enrollment | | |
+----------------------+ | |
| Participant Group | | |
-+----------------------+- | |
| demo-study.1.default | | |
********************************************************************** | |
File "test/test_study_enrollment_triggers.rst", line 211, in test_study_enrollment_t | |
riggers.rst | |
Failed example: | |
run(query) | |
Expected: | |
| Visit | | |
+--------+-----------+ | |
| id() | Status | | |
-+--------+-----------+- | |
| 1000.1 | withdrawn | | |
Got: | |
| Visit | | |
+--------+---------+ | |
| id() | Status | | |
-+--------+---------+- | |
| 1000.1 | created | | |
********************************************************************** | |
1 items had failures: | |
3 of 60 in test_study_enrollment_triggers.rst | |
***Test Failed*** 3 failures. | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_identity_triggers.rst | |
("test/input.yaml", line 27) | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_time_period_triggers.rst | |
("test/input.yaml", line 28) | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_todo_triggers.rst | |
("test/input.yaml", line 29) | |
------------------------------------------------------------------------ | |
DOCTEST: test/test_visit_triggers.rst | |
("test/input.yaml", line 30) | |
------------------------------------------------------------------------ | |
SH: pip uninstall -q -y rex.study.model_demo | |
("test/input.yaml", line 32) | |
------------------------------------------------------------------------ | |
COVERAGE-CHECK: 0.0 | |
("test/input.yaml", line 34) | |
Name Stmts Miss Branch BrPart Cover | |
------------------------------------------------------------------- | |
src/rex/study/model/__init__.py 5 0 0 0 100% | |
------------------------------------------------------------------------ | |
COVERAGE-REPORT: ./build/coverage | |
("test/input.yaml", line 35) | |
* coverage report saved to ./build/coverage/index.html | |
======================================================================== | |
! TESTS: 13 passed, 1 FAILED! | |
(study)~/dev/study/src/rex.study.model [default]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment