~trb143/openlp/hunspell

« back to all changes in this revision

Viewing changes to tests/functional/openlp_plugins/songs/test_lib.py

  • Committer: Tim Bentley
  • Author(s): Raoul Snyman
  • Date: 2018-10-27 05:53:47 UTC
  • mfrom: (2837.1.7 fix-circ-deps)
  • Revision ID: tim.bentley@gmail.com-20181027055347-ll2qcjoyrnrkrl1d
Remove the circular dependency problems in the custom slide plugin, and clean up the linting issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
        # WHEN: Transposing it 1 down
314
314
        # THEN: An exception should be raised
315
315
        with self.assertRaises(ValueError) as err:
316
 
            new_chord = transpose_chord(chord, -1, 'english')
 
316
            transpose_chord(chord, -1, 'english')
317
317
        assert err.exception.args[0] == '\'T\' is not in list', \
318
318
            'ValueError exception should have been thrown for invalid chord'
319
319