Commit 363d6a0dbd6b8cebcbdad0b791c68cfd6e5d7653

Authored by mykhaly
1 parent ebcb7741

Remove `get_file_contents` function

Now is used Robot Framework keyword `Get File`, so it is redundant
... ... @@ -59,11 +59,6 @@ def add_minutes_to_date(date, minutes):
59 59 return (parse(date) + timedelta(minutes=float(minutes))).isoformat()
60 60
61 61
62   -def get_file_contents(path):
63   - with open(path, 'r') as f:
64   - return unicode(f.read()) or u''
65   -
66   -
67 62 def compare_date(left, right, accuracy="minute", absolute_delta=True):
68 63 '''Compares dates with specified accuracy
69 64
... ...
Please register or login to post a comment