Skip to content

Commit 6060402

Browse files
committed
Hide tests that require replit login credentials
1 parent f20e7ba commit 6060402

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

tests/test_replit_scrapper.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ def test_scrapper_return_replit_url(self):
2727
# scrapper.run()
2828
# self.assertEqual(str(ctx_manager.exception), 'Invalid login credentials')
2929

30-
def test_scrapper_download_repo_as_zip(self):
31-
test_url = "https://replit.com/@pythondojoarchi/SlipperyGargantuanDebuggers"
32-
target_zip_name = "SlipperyGargantuanDebuggers.zip"
33-
WDIR = os.path.abspath(os.path.dirname(__name__))
34-
full_target_file_path = os.path.join(WDIR, "screen-shots", target_zip_name)
35-
print(full_target_file_path)
36-
37-
scrapper = ReplitScrapper(login_name=os.environ['EMAIL'], login_password=os.environ['PASSWORD'])
38-
scrapper.set_replit_url(test_url)
39-
scrapper.run()
40-
41-
print(scrapper.get_downloaded_filename())
42-
self.assertTrue(os.path.exists(full_target_file_path))
30+
# def test_scrapper_download_repo_as_zip(self):
31+
# test_url = "https://replit.com/@pythondojoarchi/SlipperyGargantuanDebuggers"
32+
# target_zip_name = "SlipperyGargantuanDebuggers.zip"
33+
# WDIR = os.path.abspath(os.path.dirname(__name__))
34+
# full_target_file_path = os.path.join(WDIR, "screen-shots", target_zip_name)
35+
# print(full_target_file_path)
36+
37+
# scrapper = ReplitScrapper(login_name=os.environ['EMAIL'], login_password=os.environ['PASSWORD'])
38+
# scrapper.set_replit_url(test_url)
39+
# scrapper.run()
40+
41+
# print(scrapper.get_downloaded_filename())
42+
# self.assertTrue(os.path.exists(full_target_file_path))
4343

4444

4545
if __name__ == "__main__":

0 commit comments

Comments
 (0)