Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

FitToPage option in device #145

Open
hpincmopria opened this issue Jan 8, 2018 · 1 comment
Open

FitToPage option in device #145

hpincmopria opened this issue Jan 8, 2018 · 1 comment

Comments

@hpincmopria
Copy link

There are 5 testcases related to FitToPage option in certification test suite.
GCP.FillPage
GCP.FitToPage
GCP.GrowToPage
GCP.ShrinkToPage
GCP.NoFitting

Are they mandatory testcases. since our device does not support FitToPage , how to disable these testcases.
there are below option in file _ticket.py. Can we remove this.

Page fit

NO_FIT = 'NO_FITTING'
FIT = 'FIT_TO_PAGE'
GROW = 'GROW_TO_PAGE'
SHRINK = 'SHRINK_TO_PAGE'
FILL = 'FILL_PAGE'

@kdlucas
Copy link
Contributor

kdlucas commented Jan 15, 2018

I'm not familiar with your device, but if you need to disable some tests, we could approach this one of two ways:

  1. Simply comment out the tests from the main file, testcert.py
  2. If you think this is a common scenario, then we could add a FIT_TO_PAGE section in the CAPS section of _config.py, and then simply set this constant to False if devices do not support fit to page.

I wonder how many devices do not support fit to page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants