Skip to content

Commit

Permalink
ignore if package list of a category is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar authored Feb 26, 2018
1 parent 0070397 commit 3abf405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_watchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
for (key, value) in CMSSW_CATEGORIES.items():
assert(type(key) == str)
assert(type(value) == list)
if len(value)==0:continue
if key == "externals":
assert(len(value)>0)
continue
Expand Down

0 comments on commit 3abf405

Please sign in to comment.