Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
communications-backbone
Commits
8dcae84f
Unverified
Commit
8dcae84f
authored
2 years ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
refactor: collect tests in tests/ directory
parent
010ce68e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4 additions
and
3 deletions
+4
-3
.gitignore
.gitignore
+2
-1
tests/api_client_test.py
tests/api_client_test.py
+0
-0
tests/api_notify_test.py
tests/api_notify_test.py
+0
-0
tests/api_receive_test.py
tests/api_receive_test.py
+0
-0
tests/api_send_test.py
tests/api_send_test.py
+0
-0
tests/api_token_test.py
tests/api_token_test.py
+0
-0
tests/models/client_model_test.py
tests/models/client_model_test.py
+1
-1
tests/models/token_model_test.py
tests/models/token_model_test.py
+1
-1
No files found.
.gitignore
View file @
8dcae84f
clients.json
__pycache__/
data/clients.json
examples/
rmq.log
Pipfile
...
...
This diff is collapsed.
Click to expand it.
api_client_test.py
→
tests/
api_client_test.py
View file @
8dcae84f
File moved
This diff is collapsed.
Click to expand it.
api_notify_test.py
→
tests/
api_notify_test.py
View file @
8dcae84f
File moved
This diff is collapsed.
Click to expand it.
api_receive_test.py
→
tests/
api_receive_test.py
View file @
8dcae84f
File moved
This diff is collapsed.
Click to expand it.
api_send_test.py
→
tests/
api_send_test.py
View file @
8dcae84f
File moved
This diff is collapsed.
Click to expand it.
api_token_test.py
→
tests/
api_token_test.py
View file @
8dcae84f
File moved
This diff is collapsed.
Click to expand it.
models/client_model_test.py
→
tests/
models/client_model_test.py
View file @
8dcae84f
...
...
@@ -3,7 +3,7 @@ import os
import
pytest
import
re
from
unittest.mock
import
patch
,
mock_open
,
call
from
client_model
import
ClientModel
from
models.
client_model
import
ClientModel
@
pytest
.
mark
.
usefixtures
(
"mock_clients"
)
...
...
This diff is collapsed.
Click to expand it.
models/token_model_test.py
→
tests/
models/token_model_test.py
View file @
8dcae84f
...
...
@@ -6,7 +6,7 @@ import os
import
pytest
import
re
from
unittest.mock
import
patch
,
mock_open
,
call
from
token_model
import
TokenModel
from
models.
token_model
import
TokenModel
def
test_init
():
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment