From 6b4c859ffca18db4228adc4af3285a33ced1c4fa Mon Sep 17 00:00:00 2001
From: Valentin Volkl <valentin.volkl@cern.ch>
Date: Mon, 2 Aug 2021 15:40:20 +0200
Subject: [PATCH] Apply suggestions from code review

Co-authored-by: Andre Sailer <andre.philippe.sailer@cern.ch>
---
 DDTest/python/test_import_ddg4.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/DDTest/python/test_import_ddg4.py b/DDTest/python/test_import_ddg4.py
index 122a1e4f2..da77c50f6 100644
--- a/DDTest/python/test_import_ddg4.py
+++ b/DDTest/python/test_import_ddg4.py
@@ -5,7 +5,11 @@ This file adds a test for the DDG4 python module.
 """
 
 from __future__ import absolute_import
-from test_import import test_module, parametrize
+import pytest
+from test_import import test_module
+
+
+parametrize = pytest.mark.parametrize
 
 
 moduleNames = [
@@ -15,4 +19,4 @@ moduleNames = [
 
 @parametrize('moduleName', moduleNames)
 def test_module_ddg4(moduleName):
-    test_module(moduleName)
+    test_module('DDG4')
-- 
GitLab