Exemplo n.º 1
0
 def test_termination_policy_returns_default(self):
     strategy = BlueGreen()
     assert_equals(strategy.termination_policy(), ['Default'])
Exemplo n.º 2
0
 def test_should_prompt_delete_false(self):
     strategy = BlueGreen()
     assert_equals(strategy.should_prompt('delete'), False)
Exemplo n.º 3
0
 def test_allowed_update_should_not_match_invalid(self):
     strategy = BlueGreen()
     match = strategy.allowed_update()
     matcher = 'anything, really, nothing will match'
     assert_equals(match.match(matcher), None)
Exemplo n.º 4
0
 def test_should_update_false(self):
     strategy = BlueGreen()
     assert_equals(strategy.should_update('update'), False)