コード例 #1
0
    def tearDown(self):
        """
        For each test, quit the browser instance and cancel any created
        timers.
        """
        teardown_browser(self.browser)

        spotify.cleanup_timers()
コード例 #2
0
 def tearDownClass(cls):
     """
     At the end of this class, complete any timers that would delete
     auth_access_tokens, so that they don't hang up the testing
     program.
     """
     super(UserDataErrorTests, cls).tearDownClass()
     spotify.cleanup_timers()
コード例 #3
0
ファイル: test_spotify.py プロジェクト: bashcorp/spotifyquiz
 def tearDownClass(cls):
     """
     At the end of this class, cancel any timers that would delete
     auth_access_tokens, so that they don't hang up the testing
     program.
     """
     super(AuthAccessTokenTests, cls).tearDownClass()
     spotify.cleanup_timers()