Problems running test suite locally
See original GitHub issueHi, I’m trying to write tests for the patch given in issue https://github.com/Azure/azure-storage-python/issues/341 so a proper pull request can be submitted for that change, however I’m having trouble testing changes to the code. I’m new to python so perhaps I’m missing something obvious, sorry in advance if I am!
I’ve followed the steps under CONTRIBUTING.md#install however it seems that the tests are testing the installed azure-storage-blob package as opposed to the files in the repo i cloned. For example if I run this test: tests.blob.test_page_blob.StoragePageBlobTest.test_create_blob_from_stream
then it passes. But if I then delete all of the code thats inside azure-storage-blob/azure/storage/blob/pageblobservice.py
and run that same test again, the test still passes. I would expect it to fail since that test uses code from pageblobservice.py
. Am I missing something?
Also one more thing to note is that CONTRIBUTING.md says to run "python setup.py install" from the azure-storage-python folder
but that file no longer exists since there are now setup.py’s in each of the three sub directories.
Any help would be much appreciated, thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Can I just ask if you have an ETA For when a new version of this package will be released which includes this change? Thanks
Great thank you!