def test_unloaded_property(self): article = self.Article(id=4) assert not is_loaded(article, 'title')
def test_loaded_property(self): article = self.Article(id=1) assert is_loaded(article, 'id')
def test_unloaded_property(self): article = self.Article(id=4) assert not is_loaded(article, 'title')
def test_loaded_property(self): article = self.Article(id=1) assert is_loaded(article, 'id')