-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de377cf
commit 3e6086e
Showing
11 changed files
with
92 additions
and
72 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
Running docker compose command "ps --services --filter status=running" | ||
Running docker compose command "exec nautobot coverage erase" | ||
PYTHON_VER=3.11 \ | ||
docker compose \ | ||
--project-name "nautobot" \ | ||
--project-directory "/Users/hanlinmiao/Desktop/nautobot/development/" \ | ||
-f "/Users/hanlinmiao/Desktop/nautobot/development/docker-compose.yml" \ | ||
-f "/Users/hanlinmiao/Desktop/nautobot/development/docker-compose.postgres.yml" \ | ||
-f "/Users/hanlinmiao/Desktop/nautobot/development/docker-compose.dev.yml" exec nautobot coverage erase | ||
Running docker compose command "ps --services --filter status=running" | ||
Running docker compose command "exec nautobot coverage run --module nautobot.core.cli test nautobot.extras.tests.test_views.JobTestCase | ||
--config=nautobot/core/tests/nautobot_config.py --cache-test-fixtures --keepdb" | ||
PYTHON_VER=3.11 \ | ||
docker compose \ | ||
--project-name "nautobot" \ | ||
--project-directory "/Users/hanlinmiao/Desktop/nautobot/development/" \ | ||
-f "/Users/hanlinmiao/Desktop/nautobot/development/docker-compose.yml" \ | ||
-f "/Users/hanlinmiao/Desktop/nautobot/development/docker-compose.postgres.yml" \ | ||
-f "/Users/hanlinmiao/Desktop/nautobot/development/docker-compose.dev.yml" exec nautobot coverage run \ | ||
--module nautobot.core.cli test nautobot.extras.tests.test_views.JobTestCase \ | ||
--config=nautobot/core/tests/nautobot_config.py \ | ||
--cache-test-fixtures \ | ||
--keepdb | ||
Using NautobotPerformanceTestRunner to run tests ... | ||
Found 52 test(s). | ||
Using existing test database for alias 'default'... | ||
[33;1mFlushing all existing data from the database "default"...[0m | ||
[33;1mLoading factory data from file development/factory_dump.c1cd4b5d9b392126e57f.json[0m | ||
Installed 8587 object(s) from 1 fixture(s) | ||
[32;1mDatabase default populated successfully![0m | ||
System check identified some issues: | ||
|
||
WARNINGS: | ||
[33;1m<Settings "nautobot_config">: (nautobot.core.W005) STORAGE_CONFIG has been set but STORAGE_BACKEND is not defined. STORAGE_CONFIG will be ignored.[0m | ||
|
||
System check identified 1 issue (0 silenced). | ||
...................................F...............s | ||
====================================================================== | ||
FAIL: test_run_job_with_invalid_task_queue (nautobot.extras.tests.test_views.JobTestCase.test_run_job_with_invalid_task_queue) | ||
---------------------------------------------------------------------- | ||
Traceback (most recent call last): | ||
File "/usr/local/lib/python3.11/unittest/mock.py", line 1378, in patched | ||
return func(*newargs, **newkeywargs) | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
File "/source/nautobot/extras/tests/test_views.py", line 2742, in test_run_job_with_invalid_task_queue | ||
self.assertHttpStatus(response, 200, msg=run_url) | ||
File "/source/nautobot/core/testing/mixins.py", line 179, in assertHttpStatus | ||
self.assertIn(response.status_code, expected_status, err_message) | ||
AssertionError: 302 not found in [200] : /extras/jobs/pass.TestPass/run/ | ||
Expected HTTP status(es) [200]; received 302: | ||
No data | ||
|
||
---------------------------------------------------------------------- | ||
Ran 52 tests in 40.897s | ||
|
||
FAILED (failures=1, skipped=1) | ||
Emptying test database "default"... | ||
Database default emptied! | ||
Preserving test database for alias 'default'... | ||
[0m |