Commit e952bebc authored by Łukasz Nowak's avatar Łukasz Nowak

Check bang on simple tree.

parent 425ffd01
...@@ -266,6 +266,24 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -266,6 +266,24 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
def test_bang_computer_simple_tree(self):
"""Checks that bangs works on simple tree"""
sequence_list = SequenceList()
sequence_string = self.prepare_started_computer_partition_sequence_string + \
"""
SlapLoginCurrentComputer
CheckEmptyComputerGetComputerPartitionCall
ComputerBang
Tic
SlapLogout
SlapLoginCurrentComputer
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
"""
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
# Computer owner cannot do bang yet # Computer owner cannot do bang yet
@expectedFailure @expectedFailure
def test_admin_bang_computer_complex_tree(self): def test_admin_bang_computer_complex_tree(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment