Commit b3f072d8812005ccdb42c7468f09432717e71af9

Authored by selurvedu
1 parent 18870cd2

Reorder imports in service_keywords.py

1 # -*- coding: utf-8 - 1 # -*- coding: utf-8 -
2 -import os  
3 -from munch import munchify, Munch, fromYAML  
4 -from json import load  
5 -from iso8601 import parse_date  
6 -from robot.output import LOGGER  
7 -from robot.output.loggerhelper import Message  
8 -from robot.libraries.BuiltIn import BuiltIn  
9 -from robot.errors import HandlerExecutionFailed  
10 from datetime import datetime, timedelta, date 2 from datetime import datetime, timedelta, date
11 from dateutil.parser import parse 3 from dateutil.parser import parse
12 from dateutil.tz import tzlocal 4 from dateutil.tz import tzlocal
13 -from pytz import timezone  
14 from dpath.util import set as xpathset 5 from dpath.util import set as xpathset
  6 +from iso8601 import parse_date
  7 +from json import load
15 from jsonpath_rw import parse as parse_path 8 from jsonpath_rw import parse as parse_path
16 -import time 9 +from munch import fromYAML, Munch, munchify
  10 +from pytz import timezone
  11 +from robot.errors import HandlerExecutionFailed
  12 +from robot.libraries.BuiltIn import BuiltIn
  13 +from robot.output import LOGGER
  14 +from robot.output.loggerhelper import Message
17 from .initial_data import ( 15 from .initial_data import (
18 - test_tender_data, test_question_data, test_question_answer_data,  
19 - test_bid_data, test_award_data, test_complaint_data, test_complaint_reply_data, test_tender_data_multiple_lots,  
20 - auction_bid, prom_test_tender_data, create_fake_doc 16 + auction_bid, create_fake_doc, prom_test_tender_data,
  17 + test_award_data, test_bid_data, test_complaint_data,
  18 + test_complaint_reply_data, test_question_answer_data,
  19 + test_question_data, test_tender_data, test_tender_data_multiple_lots
21 ) 20 )
22 import calendar 21 import calendar
  22 +import os
  23 +import time
23 24
24 25
25 TZ = timezone(os.environ['TZ'] if 'TZ' in os.environ else 'Europe/Kiev') 26 TZ = timezone(os.environ['TZ'] if 'TZ' in os.environ else 'Europe/Kiev')
Please register or login to post a comment