def test_mustCallWriteToDisplay(self, resetMachine, tenPixelStrand):
    tenPixelStrand[0] = green
    tenPixelStrand[1] = red
    assert (len(tenPixelStrand.writesForTesting) == 0)
    tenPixelStrand.write()
    assert (len(tenPixelStrand.writesForTesting) == 1)
def test_mustCallWriteToDisplay(self, resetMachine, tenPixelStrand):
    tenPixelStrand[0] = green
    tenPixelStrand[1] = red
    assert (len(tenPixelStrand.writesForTesting) == 0)
    tenPixelStrand.write()
    assert (len(tenPixelStrand.writesForTesting) == 1)