Skip to content
Snippets Groups Projects
Verified Commit ca235a08 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

d/control: Ignore filesystem tests

parent aae146d0
No related branches found
Tags v0.0.6
No related merge requests found
......@@ -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
......@@ -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.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment