Skip some tests on non-debian systems.
This commit is contained in:
parent
9b211ee38c
commit
0a2cc19f35
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ from breezy.tests import TestCaseWithTransport
|
||||||
class ResolveErrorTests(TestCaseWithTransport):
|
class ResolveErrorTests(TestCaseWithTransport):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super(ResolveErrorTests, self).setUp()
|
super(ResolveErrorTests, self).setUp()
|
||||||
|
if os.path.exists('/usr/bin/dpkg-architecture'):
|
||||||
|
self.skipTest('not a debian system')
|
||||||
self.tree = self.make_branch_and_tree(".")
|
self.tree = self.make_branch_and_tree(".")
|
||||||
self.build_tree_contents(
|
self.build_tree_contents(
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Reference in a new issue