<s> from helper import * <EOL> def doTest ( ) : <EOL> _color ( ) <EOL> _complicated_color ( ) <EOL> _special ( ) <EOL> def _complicated_color ( ) : <EOL> fixer , msg = doFix ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> styleSheet = fixer . getStyleSheet ( ) <EOL> ruleSet = styleSheet . getRuleSets ( ) [ <NUM_LIT:0> ] <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> fixer , msg = doFix ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> styleSheet = fixer . getStyleSheet ( ) <EOL> ruleSet = styleSheet . getRuleSets ( ) [ <NUM_LIT:0> ] <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> fixer , msg = doFix ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> styleSheet = fixer . getStyleSheet ( ) <EOL> ruleSet = styleSheet . getRuleSets ( ) [ <NUM_LIT:0> ] <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> def _color ( ) : <EOL> fixer , msg = doFix ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> styleSheet = fixer . getStyleSheet ( ) <EOL> equal ( len ( styleSheet . getRuleSets ( ) ) , <NUM_LIT:1> , '<STR_LIT>' ) <EOL> equal ( len ( styleSheet . getRuleSets ( ) [ <NUM_LIT:0> ] . getRules ( ) ) , <NUM_LIT:11> , '<STR_LIT>' ) <EOL> ruleSet = styleSheet . getRuleSets ( ) [ <NUM_LIT:0> ] <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> equal ( ruleSet . getRuleByName ( '<STR_LIT>' ) . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) <EOL> def _special ( ) : <EOL> css = '<STR_LIT>' <EOL> fixer , msg = doFix ( css , '<STR_LIT>' ) <EOL> ruleSet = fixer . getStyleSheet ( ) . getRuleSets ( ) [ <NUM_LIT:0> ] <EOL> rule = ruleSet . getRules ( ) [ <NUM_LIT:0> ] <EOL> equal ( rule . fixedValue , '<STR_LIT>' , '<STR_LIT>' ) </s>
