示例#1
0
 def test_add_user_story_attribute(self, mock_new_us_attr):
     rm = RequestMaker('/api/v1', 'fakehost', 'faketoken')
     project = Project(rm, id=1)
     project.add_user_story_attribute('New Attribute')
     mock_new_us_attr.assert_called_with(1, 'New Attribute')
示例#2
0
 def test_add_user_story_attribute(self, mock_new_us_attr):
     rm = RequestMaker("/api/v1", "fakehost", "faketoken")
     project = Project(rm, id=1)
     project.add_user_story_attribute("New Attribute")
     mock_new_us_attr.assert_called_with(1, "New Attribute")
示例#3
0
 def test_add_user_story_attribute(self, mock_new_us_attr):
     rm = RequestMaker('/api/v1', 'fakehost', 'faketoken')
     project = Project(rm, id=1)
     project.add_user_story_attribute('New Attribute')
     mock_new_us_attr.assert_called_with(1, 'New Attribute')
示例#4
0
 def test_add_user_story_attribute(self, mock_new_us_attr):
     rm = RequestMaker("/api/v1", "fakehost", "faketoken")
     project = Project(rm, id=1)
     project.add_user_story_attribute("New Attribute")
     mock_new_us_attr.assert_called_with(1, "New Attribute")