Skip to content

Commit

Permalink
Fix tests broked on PR 69
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolpiera committed Nov 19, 2021
1 parent b21363e commit cf00125
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@ plantmeter
python-dateutil
decorator
babel

# To execute tests
# ERPpeek==1.6.1
# ERPpeek_WST
3 changes: 3 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ERPpeek==1.6.1
ERPpeek_WST
freezegun
4 changes: 2 additions & 2 deletions som_generationkwh/tests/investment_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def test_create_from_form_allOk_APO(self):
'active': True,
'order_date': '2020-06-06',
'amortized_amount': 0.0,
'name': u'APO005000'
'name': u'APO000001'
})
self.MailMockup.deactivate(cursor, uid)

Expand Down Expand Up @@ -271,7 +271,7 @@ def test_create_from_form_beforeOpenEmission_APO(self):
'active': True,
'order_date': '2020-06-06',
'amortized_amount': 0.0,
'name': u'APO005000'
'name': u'APO000001'
})
self.MailMockup.deactivate(cursor, uid)
self.assertEqual(str(ctx.exception),'Emission not open yet')
Expand Down

0 comments on commit cf00125

Please sign in to comment.