Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mentat-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
713
Mentat
mentat-test
Commits
af7fa5d4
Commit
af7fa5d4
authored
2 years ago
by
Rajmund Hruška
Browse files
Options
Downloads
Patches
Plain Diff
Feature: Use nose2 instead of nose. (Redmine issue:
#7587
)
parent
c70c81fb
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
Makefile
+1
-1
1 addition, 1 deletion
Makefile
conf/requirements-dev.pip
+1
-1
1 addition, 1 deletion
conf/requirements-dev.pip
conf/requirements-latest-dev.pip
+1
-1
1 addition, 1 deletion
conf/requirements-latest-dev.pip
nose2.cfg
+2
-0
2 additions, 0 deletions
nose2.cfg
with
8 additions
and
3 deletions
.gitignore
+
3
−
0
View file @
af7fa5d4
...
@@ -48,6 +48,9 @@ pip-delete-this-directory.txt
...
@@ -48,6 +48,9 @@ pip-delete-this-directory.txt
# Ignore compiled translations catalogs.
# Ignore compiled translations catalogs.
messages.mo
messages.mo
# Ignore test results.
nose2-junit.xml
# Ignore precompiled files for PLY.
# Ignore precompiled files for PLY.
parser.out
parser.out
parsetab.py
parsetab.py
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
1
View file @
af7fa5d4
...
@@ -606,7 +606,7 @@ pylint: FORCE
...
@@ -606,7 +606,7 @@ pylint: FORCE
test
:
FORCE
test
:
FORCE
@
echo
"
\n
$(
GREEN
)
*** Checking code with nosetests ***
$(
NC
)
\n
"
@
echo
"
\n
$(
GREEN
)
*** Checking code with nosetests ***
$(
NC
)
\n
"
@
echo
"Python version:
`
$(
PYTHON
)
--version
`
"
@
echo
"Python version:
`
$(
PYTHON
)
--version
`
"
APP_ROOT_PATH
=
$(
shell
realpath
./chroot
)
PYTHONPATH
=
$(
DIR_LIB
)
$(
NOSETESTS
)
APP_ROOT_PATH
=
$(
shell
realpath
./chroot
)
PYTHONPATH
=
$(
DIR_LIB
)
$(
PYTHON
)
-W
always::DeprecationWarning
-m
nose2
coverage
:
FORCE
coverage
:
FORCE
@
echo
"
\n
$(
GREEN
)
*** Checking test code coverage with nosetests and coverage ***
$(
NC
)
\n
"
@
echo
"
\n
$(
GREEN
)
*** Checking test code coverage with nosetests and coverage ***
$(
NC
)
\n
"
...
...
This diff is collapsed.
Click to expand it.
conf/requirements-dev.pip
+
1
−
1
View file @
af7fa5d4
setuptools==46.1.3
setuptools==46.1.3
wheel==0.34.2
wheel==0.34.2
nose==
1.3.7
nose
2
==
0.11.0
coverage==5.0.4
coverage==5.0.4
pyflakes==2.1.1
pyflakes==2.1.1
pylint==2.4.4
pylint==2.4.4
...
...
This diff is collapsed.
Click to expand it.
conf/requirements-latest-dev.pip
+
1
−
1
View file @
af7fa5d4
setuptools
setuptools
wheel
wheel
nose
nose
2
coverage
coverage
pyflakes
pyflakes
pylint
pylint
...
...
This diff is collapsed.
Click to expand it.
nose2.cfg
0 → 100644
+
2
−
0
View file @
af7fa5d4
[unittest]
plugins
=
nose2.plugins.junitxml
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