bamaham93 / FS2020

The code-base for the website deployed at www.jacob-mcgowin.us
https://www.jacob-mcgowin.us
0 stars 0 forks source link

Failing GitHub Django CI testing #17

Closed bamaham93 closed 2 years ago

bamaham93 commented 2 years ago

GitHub Django CI testing fails with the following error:

File "/home/runner/work/FS2020/FS2020/logic/Messaging/sms.py", line 11, in <module>
    from credentials.twilio import TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN
ModuleNotFoundError: No module named 'credentials.twilio'
bamaham93 commented 2 years ago

Similar to #16. The fix for Issue #16 was to change the working directory /FS2020 so as to include the imported directory when run,

bamaham93 commented 2 years ago

Just needed to mock twilio.py and faa.py for the import to not fail.