~alisonken1/openlp/pjlink2-f

« back to all changes in this revision

Viewing changes to tests/functional/openlp_core_common/test_actions.py

  • Committer: Tim Bentley
  • Author(s): Tomas Groth
  • Date: 2017-05-17 20:30:47 UTC
  • mfrom: (2587.3.78 chords)
  • Revision ID: tim.bentley@gmail.com-20170517203047-o11dl9bfu3re2tu0
Added support for chords in Chord Pro format (using brackets), with support for chord transposing and 3 different notations.
Added support for import of song in ChordPro file format
Added support for importing chords and verseorder from songbeamer.
Add support for export and import of chords in openlyrics
Added support for importing chords from opensong.
Added support for importing chords from videopsalm.
Added support for printing chords.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
        self.list.add(self.action2)
122
122
 
123
123
        # WHEN: Iterating over the list
124
 
        l = [a for a in self.list]
 
124
        list = [a for a in self.list]
125
125
        # THEN: Make sure they are returned in correct order
126
126
        self.assertEquals(len(self.list), 2)
127
 
        self.assertIs(l[0], self.action1)
128
 
        self.assertIs(l[1], self.action2)
 
127
        self.assertIs(list[0], self.action1)
 
128
        self.assertIs(list[1], self.action2)
129
129
 
130
130
    def test_remove(self):
131
131
        """