Back-end tests error out on develop
See original GitHub issueDescribe the bug Post the merging of PR #5618, I think the back-end tests error out on develop (they had also error-ed out for that particular PR). The following is the log:
File "/home/travis/build/oppia/oppia/core/platform/models.py", line 19, in <module>
import feconf
File "/home/travis/build/oppia/oppia/feconf.py", line 30, in <module>
not os.environ['SERVER_SOFTWARE'].startswith('Development')):
File "/home/travis/virtualenv/python2.7.14/lib/python2.7/UserDict.py", line 40, in __getitem__
raise KeyError(key)
KeyError: 'SERVER_SOFTWARE'
Additional context Logs from develop and logs from the PR itself.
/cc @vojtechjelinek
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Backend Testing: What Is It and How It's Done at EGO
If the database is stopped, the API should return the “Error 500: Service unavailable” response. The current status of the exact shipment. If ......
Read more >Unable to run backend tests · Issue #10064 - GitHub
I used this command to run a backend test python -m scripts.run_backend_tests --test_target=scripts.linters.general_purpose_linter_test ERROR LOG Error 1 ...
Read more >Fullstack part4 | Testing the backend
In our current application, we only load the environment variables defined in the .env file if the application is not in production mode....
Read more >Backend testing: the definitive guide — MindK Blog
We've been providing backend testing as a part of QA service for over 10 years. Here are the basics you need to know...
Read more >Karma test error attempting to emulate backend results from ...
I am trying to create an integration test to confirm that the code in the component is written correctly. The service returns an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
But then we should still fix that, right? Basically do what is needed so that the PR would not have got in (by showing a green).
The PR is on the way.