When testing, the InkyMockImpression class currently only supports 600 x 448 (which I think is 5.7 inch). You can override the class attributes WIDTH and HEIGHT to change this, but this is less than ideal.
Ideally the resolution could be passed in to the constructor as it is in the actual class being mocked, so you could do something like:
When testing, the
InkyMockImpression
class currently only supports 600 x 448 (which I think is 5.7 inch). You can override the class attributesWIDTH
andHEIGHT
to change this, but this is less than ideal.Ideally the resolution could be passed in to the constructor as it is in the actual class being mocked, so you could do something like:
to mock the 7.3 inch Inky Impression.