FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lookup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Information Services
DevOps
Django Libraries
Lookup
Commits
d8d3fc41
Commit
d8d3fc41
authored
5 years ago
by
msb
Browse files
Options
Downloads
Patches
Plain Diff
added mock to test dependencies
parent
f5936ee5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!15
The tests require a connection to the live lookup server
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tox.ini
+3
-0
3 additions, 0 deletions
tox.ini
with
3 additions
and
0 deletions
tox.ini
+
3
−
0
View file @
d8d3fc41
...
...
@@ -36,6 +36,7 @@ setenv=
COVERAGE_FILE
=
{env:TOXINI_COVERAGE_FILE:{toxinidir}/.coverage}
# Additional dependencies
deps
=
mock
coverage
django111:
Django>=1.11,<2.0
django20:
Django>=2.0,<2.1
...
...
@@ -52,6 +53,7 @@ deps=
# We specify a specific version of flake8 to avoid introducing "false"
# regressions when new checks are introduced. The version of flake8 used may
# be overridden via the TOXINI_FLAKE8_VERSION environment variable.
mock
flake8
=
={env:TOXINI_FLAKE8_VERSION:3.6.0}
commands
=
flake8
--version
...
...
@@ -61,6 +63,7 @@ commands=
[testenv:coverage]
basepython
=
python3
deps
=
mock
coverage
django
# Specify the default environment. Note that tox will *always* use the testsuite
...
...
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