def create_extra_classes():
 classes = {}
 for (platform, caps) in EXTRA_PLATFORMS.items():
  name = '{}_{}'.format(platform, SeleniumTests.__name__)
  classdict = dict(SeleniumTests.__dict__)
  classdict.update({'caps': caps})
  classes[name] = type(name, (SeleniumTests,), classdict)
 globals().update(classes)

def create_extra_classes ( ) : classes = { } for ( platform , caps ) in EXTRA_PLATFORMS . items ( ) : name = '{}_{}' . format ( platform , SeleniumTests . __name__ ) classdict = dict ( SeleniumTests . __dict__ ) classdict . update ( { 'caps' : caps } ) classes [ name ] = type ( name , ( SeleniumTests , ) , classdict ) globals ( ) . update ( classes )
create classes for testing with other browsers .