File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,10 +25,6 @@ def inPublicCI():
2525 '''
2626 return getpass .getuser () in [ "travis" , "runner" ];
2727
28- @classmethod
29- def getResourcePath (cls ):
30- path = os .path .dirname (__file__ ) + "/resources"
31- return
3228
3329 @classmethod
3430 def absoluteFilePaths (cls ,directory ):
Original file line number Diff line number Diff line change 88from ormigrate .issue170_curation import CurationQualityChecker
99from tests .corpus import Corpus
1010from collections import Counter
11+ from openresearch .openresearch import OpenResearch
1112
1213class TestIssue170 (unittest .TestCase ):
1314 '''
@@ -30,7 +31,7 @@ def testCurationQualityCheck170(self):
3031
3132 Curation quality check
3233 '''
33- path = hf .getResourcePath () if hf .inPublicCI () else None
34+ path = OpenResearch .getResourcePath () if hf .inPublicCI () else None
3435 userRating = CurationQualityChecker .loadUserRating (path )
3536 self .assertTrue ("Wolfgang Fahl" in userRating )
3637 if self .debug :
You can’t perform that action at this time.
0 commit comments