def test_category_creation(self):
        self.clear_db()
        db.session.add(Category('cool'))
        db.session.commit()
        assert_equal(Category.query.get(1).name, 'cool')
Test if categories are created and saved properly to the database
dataset/ETHPy150Open eugenkiss/Simblin/test/test_models.py/TestCategories.test_category_creation