def start(ship, fps, total_frames, screen_size, start_sprite, exit_sprite, title_sprite): ship.ammo = 100 start_game = controls(ship, fps, total_frames, screen_size, start_sprite, exit_sprite) off_screen(screen_size) background(fps, total_frames, screen_size) start_animation(ship, start_sprite, exit_sprite, title_sprite) return start_game
def setUp(self): self.smartproxy_pid = process.background("/usr/bin/twistd -l log/smartproxy.log -n -y fixtures/smartproxy.tac") assert process.wait_for_connect("localhost", 22008), "Smartproxy didn't start"