From 06f6129b2b7f24f1ee0807d05bbf7becb1401a83 Mon Sep 17 00:00:00 2001
From: spiglerg <spiglerg@gmail.com>
Date: Fri, 19 Apr 2019 17:03:46 +0200
Subject: [PATCH] fixed tests

---
 tests/test_rendertools.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_rendertools.py b/tests/test_rendertools.py
index 427ff2f7..0f7e1a00 100644
--- a/tests/test_rendertools.py
+++ b/tests/test_rendertools.py
@@ -36,7 +36,7 @@ def checkFrozenImage(sFileImage):
 
 def test_render_env():
     random.seed(100)
-    oEnv = RailEnv(width=10, height=10, rail_generator=random_rail_generator, number_of_agents=2)
+    oEnv = RailEnv(width=10, height=10, rail_generator=random_rail_generator(), number_of_agents=2)
     oEnv.reset()
     oRT = rt.RenderTool(oEnv)
     plt.figure(figsize=(10, 10))
-- 
GitLab