From 9c6f11a198ad4e716e58225c6ebce74f3d7bd660 Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Tue, 24 Oct 2017 15:48:31 -0500
Subject: [PATCH] Update test with correct comparison syntax.

---
 workflow/tests/test_xcor.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/workflow/tests/test_xcor.py b/workflow/tests/test_xcor.py
index 51f109a..f5723ed 100644
--- a/workflow/tests/test_xcor.py
+++ b/workflow/tests/test_xcor.py
@@ -11,9 +11,9 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
 def test_convert_reads_singleend():
     assert os.path.exists(os.path.join(test_output_path, 'ENCFF833BLU.filt.nodup.tagAlign.15.tagAlign.gz.cc.plot.pdf'))
     df_xcor = pd.read_csv("ENCFF833BLU.filt.nodup.tagAlign.15.tagAlign.gz.cc.qc", sep="\t", header=None)
-    assert df_xcor[2].iloc[0] = '195,215,230'
-    assert df_xcor[8].iloc[0] = 1.024836
-    assert df_xcor[9].iloc[0] = 1.266678
+    assert df_xcor[2].iloc[0] == '195,215,230'
+    assert df_xcor[8].iloc[0] == 1.024836
+    assert df_xcor[9].iloc[0] == 1.266678
 
 
 def test_map_qc_pairedend():
-- 
GitLab