Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-model
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Renaud Boyer
swh-model
Commits
ca235a08
Verified
Commit
ca235a08
authored
8 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
d/control: Ignore filesystem tests
parent
aae146d0
No related branches found
Branches containing commit
Tags
v0.0.6
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/rules
+1
-1
1 addition, 1 deletion
debian/rules
swh/model/tests/test_git.py
+6
-2
6 additions, 2 deletions
swh/model/tests/test_git.py
with
7 additions
and
3 deletions
debian/rules
+
1
−
1
View file @
ca235a08
...
...
@@ -7,5 +7,5 @@ export PYBUILD_NAME=swh-model
override_dh_auto_test:
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="python{version} -m nose swh -sva '!db'" \
PYBUILD_TEST_ARGS="python{version} -m nose swh -sva '!db
,!fs
'" \
dh_auto_test
This diff is collapsed.
Click to expand it.
swh/model/tests/test_git.py
+
6
−
2
View file @
ca235a08
...
...
@@ -9,6 +9,7 @@ import subprocess
import
tempfile
import
unittest
from
nose.plugins.attrib
import
attr
from
nose.tools
import
istest
from
swh.model
import
git
...
...
@@ -137,8 +138,10 @@ blah
self
.
assertEqual
(
checksum
,
self
.
checksums
[
'
tag_sha1_git
'
])
@attr
(
'
fs
'
)
class
GitHashWalkArborescenceTree
(
unittest
.
TestCase
):
"""
Root class to ease walk and git hash testing without side-effecty problems.
"""
Root class to ease walk and git hash testing without side-effecty
problems.
"""
def
setUp
(
self
):
...
...
@@ -512,7 +515,8 @@ def ignore_svn_folder(dirpath):
return
b
'
.svn
'
not
in
dirpath
class
GitHashUpdateRealUseCase
(
GitHashWalkArborescenceTree
):
@attr
(
'
fs
'
)
class
GitHashUpdateRealUseCase
(
unittest
.
TestCase
):
"""
Test `walk and git hash only on modified fs` functions.
"""
...
...
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