def test_map_view(self):
        "Map a created materialized view"
        if 90300 < self.db.version:
            self.skipTest('Only available on PG 9.3')
        stmts = [CREATE_TABLE, CREATE_STMT]
        dbmap = self.to_map(stmts)
        expmap = {'definition': VIEW_DEFN, 'with_data': True}
        assert dbmap['schema public']['materialized view mv1'] == expmap
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_matview.py/MatViewToMapTestCase.test_map_view/swapped operands of `<`