From 932de1170d881aa6f2e9eee6971519ddd3502cba Mon Sep 17 00:00:00 2001 From: AHReccese Date: Mon, 29 Jan 2024 09:10:47 +0330 Subject: [PATCH] update test cases --- tests/test_reserver.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_reserver.py b/tests/test_reserver.py index 91d0b7f..ee02f75 100644 --- a/tests/test_reserver.py +++ b/tests/test_reserver.py @@ -5,17 +5,17 @@ def test_package_exists(): # test reserved name - uploader = Uploader(test_pypi_token, is_test_pypi_account= True) + uploader = Uploader(test_pypi_token, test_pypi= True) assert uploader.upload_to_pypi("numpy") == False def test_valid_package_invalid_credentials(): # test not reserved name -> wrong credentials wrong_pypi_token = "pypi-wrong-api-token" - uploader = Uploader(wrong_pypi_token, is_test_pypi_account= True) + uploader = Uploader(wrong_pypi_token, test_pypi= True) assert uploader.upload_to_pypi(get_random_name()) == False def test_valid_package_valid_credentials(): # test not reserved name -> correct credentials - # uploader = Uploader(test_pypi_token, is_test_pypi_account= True) + # uploader = Uploader(test_pypi_token, test_pypi= True) # uploader.upload_to_pypi(get_random_name()) - assert True == True + assert True == True \ No newline at end of file