Skip to content

Commit

Permalink
Adjustments to make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Sep 15, 2015
1 parent 3bd6488 commit 0281f7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions process.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

class PullRequestFilter(object):

def __init__(self, name, conditions, actions, committer_group, repo_owner,
repo_name, bot_user):
def __init__(self, name, conditions, actions, committer_group=None, repo_owner=None,
repo_name=None, bot_user=None):
self.name = name
self.conditions = conditions
self.actions = actions
self.committer_group = committer_group
self.committer_group = [] if committer_group is None else committer_group
self.repo_owner = repo_owner
self.repo_name = repo_name
self.bot_user = bot_user
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ envlist = py27
commands = nosetests test.py
deps =
nose
attrdict

0 comments on commit 0281f7e

Please sign in to comment.