Пример #1
0
 def test_default_activity_false_when_not_defined(self):
     jira = Jira(CONFIG)
     assert jira.get_activity_id() is False
Пример #2
0
 def test_default_activity_false_when_not_defined(self):
     jira = Jira(CONFIG)
     assert jira.get_activity_id() is False
Пример #3
0
 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()
Пример #4
0
 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()