Commit 363d6a0dbd6b8cebcbdad0b791c68cfd6e5d7653
1 parent
ebcb7741
Remove `get_file_contents` function
Now is used Robot Framework keyword `Get File`, so it is redundant
Showing
1 changed file
with
0 additions
and
5 deletions
@@ -59,11 +59,6 @@ def add_minutes_to_date(date, minutes): | @@ -59,11 +59,6 @@ def add_minutes_to_date(date, minutes): | ||
59 | return (parse(date) + timedelta(minutes=float(minutes))).isoformat() | 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 | def compare_date(left, right, accuracy="minute", absolute_delta=True): | 62 | def compare_date(left, right, accuracy="minute", absolute_delta=True): |
68 | '''Compares dates with specified accuracy | 63 | '''Compares dates with specified accuracy |
69 | 64 |
Please
register
or
login
to post a comment