Skip to content

Commit

Permalink
Make test success less random by using sets
Browse files Browse the repository at this point in the history
  • Loading branch information
terrorfisch committed Aug 16, 2018
1 parent 035aee3 commit 3adc59a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/pulses/pulse_template_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ def test__create_program_single_waveform(self):

to_waveform.assert_called_once_with(expected_inner_program)

expected_program._measurements = set(expected_program._measurements)
parent_loop._measurements = set(parent_loop._measurements)

self.assertEqual(expected_program, parent_loop)

def test_create_program_defaults(self) -> None:
Expand Down

0 comments on commit 3adc59a

Please sign in to comment.