spdx-online-tools
spdx-online-tools copied to clipboard
#200 - Fixing test_archive_license_requests_feature and test_unarchive_license_requests_feature
- Logged in with the user setup in secrets.py
- Add client
sessionid
to selenium driver - Mocked the app.utils.checkPermission to return true
When the app.utils.checkPermission
returns true, context_dict['authorized']
becomes true and that cause archive/ unarchive buttons visible in the UI.