'Test if Orange workflow examples can be opened. Examples in canvas
and also those placed "workflows" subfolder.
GH-2240'

def test_scheme_examples(self):

    for ows_file in TEST_WORKFLOWS:
        new_scheme = widgetsscheme.WidgetsScheme()
        with open(ows_file, 'rb') as f:
            try:
                scheme_load(new_scheme, f)
            except Exception as e:
                self.fail("Old    workflow    '{}'    could    not    be    loaded\n'{}'".format(ows_file, str(e)))
