Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Rewrite test_emails
Browse files Browse the repository at this point in the history
  • Loading branch information
lioneltrebuchon committed Dec 1, 2019
1 parent f10dc1d commit 8dbe85f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Now it's time to configure AMIV API. Create a file `config.py`
ROOT_PASSWORD = 'root'

# MongoDB Configuration
MONGO_HOST = 'mongodb' # or 'localhost' if you run the API from Python
MONGO_HOST = 'mongodb' # or 'localhost' if you run the database locally
MONGO_PORT = 27017
MONGO_DBNAME = 'amivapi'
MONGO_USERNAME = 'amivapi'
Expand Down
2 changes: 1 addition & 1 deletion amivapi/tests/events/test_emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_email_signup_delete(self):
self.app.config.pop('SIGNUP_DELETED_REDIRECT')
self.api.get('/eventsignups/%s' % signup['_id'], status_code=200)
self.api.get('/delete_signup/%s' % token, status_code=200)
self.api.post('/delete_confirmed/%s' % token, status_code=302)
self.api.post('/delete_confirmed/%s' % token, status_code=200)

# Check that signup was deleted
self.api.get('/eventsignups/%s' % signup['_id'], status_code=404)
Expand Down

0 comments on commit 8dbe85f

Please sign in to comment.