Esempio n. 1
0
 def tearDown() -> None:
     delete_env('TWITTER_CONSUMER_KEY')
     delete_env('TWITTER_CONSUMER_SECRET')
     delete_env('TWITTER_ACCESS_TOKEN')
     delete_env('TWITTER_ACCESS_TOKEN_SECRET')
Esempio n. 2
0
 def clear_env() -> None:
     delete_env('TWITTER_USER_IDS')
     delete_env('INTERVAL')
     delete_env('MODE_SPECIFIED')
     delete_env('TWEET_COUNT')
     delete_env('TWEET_PAGES')
     delete_env('SAVE_MODE')
     delete_env('LOGGING_LEVEL')
     delete_env('DATABASE_URL')
     delete_env('DATABASE_SSLMODE')
     delete_env('TZ')
     delete_env('TWITTER_CONSUMER_KEY')
     delete_env('TWITTER_CONSUMER_SECRET')
     delete_env('TWITTER_ACCESS_TOKEN')
     delete_env('TWITTER_ACCESS_TOKEN_SECRET')
     delete_env('GOOGLE_CLIENT_ID')
     delete_env('GOOGLE_CLIENT_SECRET')
     delete_env('GOOGLE_REFRESH_TOKEN')
     delete_env('GOOGLE_ALBUM_TITLE')
Esempio n. 3
0
 def tearDown() -> None:
     delete_env('GOOGLE_CLIENT_ID')
     delete_env('GOOGLE_CLIENT_SECRET')
     delete_env('GOOGLE_REFRESH_TOKEN')
Esempio n. 4
0
 def tearDown() -> None:
     delete_env('TZ')
Esempio n. 5
0
 def setUp() -> None:
     delete_env('TZ')
Esempio n. 6
0
 def tearDown() -> None:
     delete_env('LOGGING_LEVEL')
Esempio n. 7
0
    def setUp() -> None:
        mock_basic_config.reset_mock()
        mock_handler.reset_mock()
        mock_makedirs.reset_mock()

        delete_env('LOGGING_LEVEL')