Skip to content

Commit

Permalink
Merge pull request #106 from gisce/fix_b02_test
Browse files Browse the repository at this point in the history
Fix - Fix test B02 parse date
  • Loading branch information
tinogis authored Jul 11, 2024
2 parents 3718e7d + 4a3a0df commit 55630bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion primestg/order/orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class B02Payload(XmlModel):
def __init__(self, payload, drop_empty=False):
powers = payload.get('powers')
act_date_param = payload.get('activation_date')
act_date_param = datetime.strptime(act_date_param, '%Y-%m-%d %H:%M:%S')

activation_date = datetimetoprime(act_date_param)

Expand Down
2 changes: 1 addition & 1 deletion spec/Order_B02_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from primestg.utils import assertXMLEqual
from datetime import datetime

with fdescription('Order B02 Generation'):
with description('Order B02 Generation'):
with before.all:
self.expected_result = (
"""
Expand Down

0 comments on commit 55630bf

Please sign in to comment.