Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion esileapclient/tests/functional/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _init_dummy_project(self, name, roles, parent=None):
'domain': 'default'
}

if roles is []:
if not roles:
raise ValueError('No roles specified when initializing dummy \
project %s' % name)
elif type(roles) is str:
Expand Down
Loading