From b23de083aabfce6d5bc523b2a6fd3bd9f81a4572 Mon Sep 17 00:00:00 2001
From: lukas leufen <l.leufen@fz-juelich.de>
Date: Mon, 18 Nov 2019 14:26:38 +0100
Subject: [PATCH] another change

---
 test/test_modules.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_modules.py b/test/test_modules.py
index f5d281ef..02b49b28 100644
--- a/test/test_modules.py
+++ b/test/test_modules.py
@@ -49,7 +49,7 @@ class TestPreProcessing:
         pre = PreProcessing(setup)
         assert caplog.record_tuples[0] == ('root', 20, 'PreProcessing started')
         assert caplog.record_tuples[1] == ('root', 20, 'check valid stations started')
-        assert caplog.record_tuples[2] == ('root', 20, pytest_regex('run for \d+\.\d+s to check 5 station\(s\)'))
+        assert caplog.record_tuples[-1] == ('root', 20, pytest_regex('run for \d+\.\d+s to check 5 station\(s\)'))
 
     def test_run(self):
         pre_processing = object.__new__(PreProcessing)
-- 
GitLab