Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
diffoscope
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Reproducible Builds
diffoscope
Commits
b6958492
Commit
b6958492
authored
8 years ago
by
Jérémy Bobbio
Browse files
Options
Downloads
Patches
Plain Diff
Properly skip test requiring python-debian when unavailable
parent
c61f41c5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/comparators/test_debian.py
+2
-0
2 additions, 0 deletions
tests/comparators/test_debian.py
with
2 additions
and
0 deletions
tests/comparators/test_debian.py
+
2
−
0
View file @
b6958492
...
...
@@ -138,9 +138,11 @@ def dot_changes_differences_different_contents_and_identical_files(dot_changes2,
output_text
(
difference
,
print_func
=
print
)
return
difference
.
details
@pytest.mark.skipif
(
miss_debian_module
,
reason
=
'
debian module is not installed
'
)
def
test_dot_changes_no_differences_exclude_buildinfo
(
dot_changes1
,
dot_changes3
):
difference
=
dot_changes1
.
compare
(
dot_changes3
)
assert
difference
is
None
@pytest.mark.skipif
(
miss_debian_module
,
reason
=
'
debian module is not installed
'
)
def
test_dot_changes_identical_contents_and_different_files
(
dot_changes_differences_identical_contents_and_different_files
):
assert
dot_changes_differences_identical_contents_and_different_files
[
0
]
...
...
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