makerspace / makeradmin

Stockholm Makerspace member administration and store.
https://docs.makeradmin.se/
21 stars 16 forks source link

Skip subscription tests when stripe api key not set #330

Closed BerglundDaniel closed 1 year ago

BerglundDaniel commented 1 year ago

The subscription tests depend on the stripe api so they need to be skipped when the stripe api key is not set

emanuelen5 commented 1 year ago

The following tests also fail, and I think you can just start by skipping them until they have been fixed:

test-test-1              | FAILED messages/test/labacess_reminder_test.py::Test::test_reminder_message_is_not_created_if_member_has_pending_labaccess_days
test-test-1              | FAILED messages/test/membership_reminder_test.py::Test::test_reminder_message_is_not_created_if_member_has_pending_membership_days
test-test-1              | FAILED systest/public/member_page_test.py::Test::test_view_member_shows_special_access_when_added
test-test-1              | FAILED systest/public/member_page_test.py::Test::test_view_member_shows_member_info

Edit: I saw that you had fixed two of them in #332. So then it's only two tests to skip. Nice 🙂