git @ Cat's Eye Technologies Feedmark / develop-0.10
Update comments on test cases. Chris Pressey 1 year, 8 months ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
201201
202202 def test_output_refdex_with_overlap(self):
203203 # Both of these files contain an entry called "Llamas: It's Time to Spot Them".
204 # The refdex is created pointing to the file that was mentioned last.
204 # The refdex is created with entries pointing to all files where the entry occurs.
205205 main(['eg/Recent Llama Sightings.md', 'eg/Referenced Llama Sightings.md', '--output-refdex'])
206206 data = json.loads(sys.stdout.getvalue())
207207 self.assertDictEqual(data, {
228228
229229 def test_output_refdex_with_overlap_forcing_single_filename(self):
230230 # Both of these files contain an entry called "Llamas: It's Time to Spot Them"
231 # The refdex is created pointing only to the file that was mentioned last.
231232 main(['eg/Recent Llama Sightings.md', 'eg/Referenced Llama Sightings.md', '--output-refdex', '--output-refdex-single-filename'])
232233 data = json.loads(sys.stdout.getvalue())
233234 self.assertDictEqual(data, {