lucyparsons / OpenOversight

Police oversight and accountability through public data 👮
https://openoversight.com
GNU General Public License v3.0
240 stars 79 forks source link

Fix database fixture and password unit test #1120

Closed sea-kelp closed 3 months ago

sea-kelp commented 3 months ago

Description of Changes

  1. Simplify database fixtures
  2. Fix password unit test - This test currently doesn't fail if user.password returns a value. Using pytest.raises fails the test if AttributeError is not raised.

Notes for Deployment

None!

Screenshots (if appropriate)

N/A

Tests and Linting