Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
9305257c
Commit
9305257c
authored
5 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] update pytest environment
parent
df4dd205
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+3
-1
3 additions, 1 deletion
Makefile
requirements_dev.txt
+4
-4
4 additions, 4 deletions
requirements_dev.txt
tests/conftest.py
+1
-3
1 addition, 3 deletions
tests/conftest.py
with
8 additions
and
8 deletions
Makefile
+
3
−
1
View file @
9305257c
...
...
@@ -3,7 +3,9 @@
# run tests
tests
:
pytest
-q
-s
${
TESTS_FILTER
}
python3 gen_resources.py
python3 gen_translations.py
--lrelease
pytest
-q
-s
--disable-warnings
${
TESTS_FILTER
}
# check
check
:
mypy pylint check-format
...
...
This diff is collapsed.
Click to expand it.
requirements_dev.txt
+
4
−
4
View file @
9305257c
black==19.10b0
duniter-mirage==0.1.
1
5
mypy==0.7
61
duniter-mirage==0.1.5
0
mypy==0.7
70
pylint==2.4.4
pytest
==5.3.5
pytest-asyncio
==0.10.0
pytest
pytest-asyncio
md-to-html
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/conftest.py
+
1
−
3
View file @
9305257c
...
...
@@ -5,19 +5,17 @@ import sqlite3
import
mirage
import
sys
import
os
import
locale
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"
..
"
,
"
src
"
)))
from
sakia.constants
import
ROOT_SERVERS
from
duniterpy.documents
import
BlockUID
from
duniterpy.key
import
ScryptParams
from
duniterpy.key
.scrypt_params
import
ScryptParams
from
sakia.app
import
Application
from
sakia.options
import
SakiaOptions
from
sakia.data.files
import
*
from
sakia.data.entities
import
*
from
sakia.data.repositories
import
*
from
sakia.services
import
DocumentsService
_application_
=
[]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment