Ejemplo n.º 1
0
 def test_event_sequence(self):
     expected = [
         'Testrun requested', 'Task in queue', 'Task is ongoing',
         'Device flashing', 'Device booting', 'Test execution',
         'Test package ended'
     ]
     self.assertEquals(expected, event_sequence())
Ejemplo n.º 2
0
def get_event_sequence(request):
    """
    @rtype: C{list} of C{str}            
    @return: The sequence of interesting events  
    """
    return event_sequence()
Ejemplo n.º 3
0
def get_event_sequence(request):
    """
    @rtype: C{list} of C{str}            
    @return: The sequence of interesting events  
    """   
    return event_sequence()
Ejemplo n.º 4
0
 def test_event_sequence(self):
     expected = ['Testrun requested', 'Task in queue', 
                 'Task is ongoing', 'Device flashing', 
                 'Device booting', 'Test execution', 
                 'Test package ended']
     self.assertEquals(expected, event_sequence())