How should I be running tests locally? #98
-
Since #94 I have not been able to run tests locally. Previously I ran Now when I run I've tried running I've also tried running the following before earthengine authenticate
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/file/earth/engine/authenticate/saved/credentials/to.json Doing this causes all the ext integration tests to fail with If I revert this: Xee/xee/ext_integration_test.py Lines 44 to 48 in 07b8676 Back to this: def init_ee_for_tests():
ee.Initialize(opt_url='https://earthengine-highvolume.googleapis.com') Everything works as expected. Any suggestions would be appreciated thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Rylan, you should be able to run integration tests with |
Beta Was this translation helpful? Give feedback.
Hi Rylan, you should be able to run integration tests with
USE_ADC_CREDENTIALS=1 python -m unittest xee/ext_integration_test.py
. See https://github.com/google/Xee?tab=readme-ov-file#how-to-run-integration-tests for more details.