From 7ac89a5bbbbff29569f49eaf57bd037000ac1848 Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Thu, 6 Sep 2018 16:21:24 +0530
Subject: [PATCH] Import rdesigneur before moose in tests.

---
 moose-core/tests/python/test_rdesigneur.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/moose-core/tests/python/test_rdesigneur.py b/moose-core/tests/python/test_rdesigneur.py
index d89aa136..c189bca6 100644
--- a/moose-core/tests/python/test_rdesigneur.py
+++ b/moose-core/tests/python/test_rdesigneur.py
@@ -14,13 +14,12 @@ import matplotlib
 matplotlib.use('Agg')
 import matplotlib.pyplot as plt
 import numpy as np
-import moose
-
 try:
     import rdesigneur as rd 
 except RuntimeError as e:
     print( "[WARN ] Could not import rdesigneur. Most likely due to DISPLAY issue." )
     quit()
+import moose
     
 def test2( ):
     if moose.exists( '/model' ):
-- 
GitLab