Skip to content

Commit

Permalink
Refactor TC2
Browse files Browse the repository at this point in the history
Issue #17
  • Loading branch information
Markus Borg committed Jul 23, 2022
1 parent 6ff244d commit 7491c95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/test_2_onescholar.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ def setup_method(self):
pass
self.filename_prefix = os.path.join(subdirectory, str(date.today()) + "_sss_")

def test_david_notkin(self):
reader = ScholarReader("test/test_2_onescholar.csv")

self.sss_scholars, self.sss_affiliations = reader.read_candidate_scholars()

self.miner = ScholarMiner(self.filename_prefix, self.sss_scholars, self.sss_affiliations)
self.miner.parse_scholars()
self.sss_scholars = self.miner.get_scholars()

def test_david_notkin(self):
david = None
for scholar in self.sss_scholars:
if scholar.name == "David Notkin":
Expand Down

0 comments on commit 7491c95

Please sign in to comment.