diff --git a/trackhub/test/test_parentonoff/test_parentonoff.py b/trackhub/test/test_parentonoff/test_parentonoff.py
index <HASH>..<HASH> 100644
--- a/trackhub/test/test_parentonoff/test_parentonoff.py
+++ b/trackhub/test/test_parentonoff/test_parentonoff.py
@@ -69,5 +69,5 @@ def test_parentonoff():
 
     results = hub.render()
 
-    assert( open( 'hg19/trackDb.txt').read() == open('expected/hg19/trackDb.txt').read() )
+    assert( open( 'trackhub/test/test_parentonoff/hg19/trackDb.txt').read() == open('trackhub/test/test_parentonoff/expected/hg19/trackDb.txt').read() )
Changing the trackDb.txt path in test_parentonoff.py