def test_default_activity_false_when_not_defined(self): jira = Jira(CONFIG) assert jira.get_activity_id() is False
def test_default_activity_as_defined_in_config(self): config = copy.copy(CONFIG) config.append(('default_activity_id', 1)) jira = Jira(config) assert 1 == jira.get_activity_id()