def test_it_should_build_a_runner(self): options, args = sampleOptions("--configuration tests/mocks/veripy.cfg host") c = Configuration(args, options, MockInterface()) r = c.build_runner() self.assertTrue(isinstance(r, Runner))
def test_it_should_give_the_runner_a_pointer_back_to_the_configuration(self): options, args = sampleOptions("--configuration tests/mocks/veripy.cfg host") c = Configuration(args, options, MockInterface()) r = c.build_runner() self.assertEqual(c, r._Runner__config)
def test_it_should_build_a_runner(self): options, args = sampleOptions( "--configuration tests/mocks/veripy.cfg host") c = Configuration(args, options, MockInterface()) r = c.build_runner() self.assertTrue(isinstance(r, Runner))
def test_it_should_give_the_runner_a_pointer_back_to_the_configuration( self): options, args = sampleOptions( "--configuration tests/mocks/veripy.cfg host") c = Configuration(args, options, MockInterface()) r = c.build_runner() self.assertEqual(c, r._Runner__config)