Skip to content

Commit

Permalink
add test case to check conflict with non-standard python library modu…
Browse files Browse the repository at this point in the history
…les + fixing a typo
  • Loading branch information
AHReccese committed Jul 22, 2024
1 parent ec525c3 commit a2188fa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_reserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@ def test_valid_package_invalid_credentials():
def test_valid_package_valid_credentials():
# test not reserved name -> correct credentials
# uploader = PyPIUploader(test_pypi_token, test_pypi=True)
# uploader.upload_to_pypi(get_random_name())
# uploader.upload(get_random_name())
assert True == True

def test_module_conflict():
# try to reserve a name which conflicts with the module name of a previously taken package (the taken package itself has a different name, but it's module name has conflict)."
# uploader = PyPIUploader(pypi_token, test_pypi=False)
# uploader.upload("freeze") == False
assert True == True

0 comments on commit a2188fa

Please sign in to comment.