Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems running test suite locally

See original GitHub issue

Hi, I’m trying to write tests for the patch given in issue 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 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/ and run that same test again, the test still passes. I would expect it to fail since that test uses code from Am I missing something?

Also one more thing to note is that says to run "python install" from the azure-storage-python folder but that file no longer exists since there are now’s in each of the three sub directories.

Any help would be much appreciated, thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

evanrolfecommented, Jan 15, 2018

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

evanrolfecommented, Jan 17, 2018

Great thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running Phoromatic server-local tests on clients #255 - GitHub
A workaround to deploying to (for quick local testing), was to write up the test under the test-profiles/local, and then ...
Read more >
Troubleshooting Continuous Integration, or How to Debug ...
Another related cause of test passing locally is a non-empty database. Your CI uses a new environment every time, with an empty database....
Read more >
9 Ways To Make Slow Tests Faster - Semaphore CI
Here are the nine most common performance problems and their solutions: My tests are too ... Run test suite locally and verify ALL...
Read more >
Local testing errors and troubleshooting | BrowserStack Docs
When trying to perform Local Testing with BrowserStack, you may encounter the following error: browserstack.local is set to true but local testing through ......
Read more >
Why tests pass locally but fail in Jenkins | Object Partners
: Tests using filenames are passing locally but failing in Jenkins · The problem is that your Jenkins instance is most likely running...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found