Skip to content

Commit 1c5fce9

Browse files
committed
2 parents bddc06c + bf3ac03 commit 1c5fce9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

migration/openresearch/eventcorpus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(self,debug=False):
1616
'''
1717
self.debug=debug
1818

19-
def fromWikiSonBackupFiles(self,backupDir=str(Path.home() / 'wikibackup'/ 'orcp' ),wikiId='orcp',listOfItems=[]):
19+
def fromWikiSonBackupFiles(self,backupDir=str(Path.home() / 'wikibackup'/ 'or' ),wikiId='or',listOfItems=[]):
2020
'''
2121
get events with series by knitting / linking the entities together
2222
'''

migration/tests/testIssue236.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ def testFromBackupFile(self):
4545
eventSeriesList.fromWikiSonBackupFiles('Event series',wikiId=self.wikiId)
4646
self.assertGreater(len(eventSeriesList.getList()), 100)
4747
eventList= EventList()
48-
eventList.fromWikiSonBackupFiles('Event',wikiId='orcp')
48+
eventList.fromWikiSonBackupFiles('Event',wikiId='or')
4949
self.assertGreater(len(eventList.getList()),8000)
5050
eventList2= EventList()
51-
eventList2.fromWikiSonBackupFiles('Event',wikiId='orcp',listOfItems=['3DUI 2020','3DUI 2016'])
51+
eventList2.fromWikiSonBackupFiles('Event',wikiId='or',listOfItems=['3DUI 2020','3DUI 2016'])
5252
self.assertGreaterEqual(len(eventList2.getList()), 2)
5353

5454
def testUpdateEntity(self):

0 commit comments

Comments
 (0)