From 1b16d6aaeee49b5780c83061fd2c8bbab15d288d Mon Sep 17 00:00:00 2001 From: David Barroso Date: Fri, 11 Mar 2016 11:37:54 +0100 Subject: [PATCH] Mock files should be lowercase --- test/unit/TestFortiOSDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/TestFortiOSDriver.py b/test/unit/TestFortiOSDriver.py index 3605f8b..a0f55df 100644 --- a/test/unit/TestFortiOSDriver.py +++ b/test/unit/TestFortiOSDriver.py @@ -55,7 +55,7 @@ class FakeFortiOSDevice: @staticmethod def read_txt_file(filename): - with open(filename) as data_file: + with open(filename.lower()) as data_file: return data_file.read().splitlines() def execute_command(self, command):