Update now to utcnow. All tests passing.

This commit is contained in:
Nicholas Staples
2016-05-11 10:56:24 +01:00
parent 1b82612ea3
commit 03f15d6af9
11 changed files with 21 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ from app.models import ProviderRates
def test_create_provider_rates(notify_db, notify_db_session, mmg_provider_name):
now = datetime.now()
now = datetime.utcnow()
rate = Decimal("1.00000")
create_provider_rates(mmg_provider_name, now, rate)
assert ProviderRates.query.count() == 1