Code cleanup
This commit is contained in:
parent
35a0f621b8
commit
a1497360b1
8 changed files with 38 additions and 56 deletions
|
|
@ -147,7 +147,7 @@ class ModelsTest(BaseTest):
|
|||
def test_model_attributes(self):
|
||||
post = self._get_post(self._post_data[0]['en'])
|
||||
post = self._get_post(self._post_data[0]['it'], post, 'it')
|
||||
post.main_image = self.img
|
||||
post.main_image = self.create_filer_image_object()
|
||||
post.save()
|
||||
post.set_current_language('en')
|
||||
meta_en = post.as_meta()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue