示例#1
0
def tracking_screen(request, app):
    """Return a plain TrackingScreen instance."""
    return screens.TrackingScreen(app)
示例#2
0
 def test_init(self, app):
     """Make sure instance matches expectation."""
     result = screens.TrackingScreen(app)
     assert isinstance(result, screens.TrackingScreen)
     assert len(result.get_children()) == 2