def test_category_save(database):
 category = Category(title='Test Category')
 category.save()
 assert (category.title == 'Test Category')

def test_category_save ( database ) : category = Category ( title = 'Test Category' ) category . save ( ) assert ( category . title == 'Test Category' )
test the save category method .