test_push_content: now checks that the content has been pushed correctly
This commit is contained in:
parent
c28d5a99c1
commit
810a4fe9b0
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ class MediawikiTest(BackendTest):
|
|||
content = self.backend.get_content(u"Utilisateur:Clemux/Test")
|
||||
content.content = "test "+str(datetime.now())
|
||||
self.backend.push_content(content, message="test weboob", minor=True)
|
||||
new_content = self.backend.get_content(u"Utilisateur:Clemux/Test")
|
||||
assert content.content == new_content.content
|
||||
|
||||
def test_content_preview(self):
|
||||
content = self.backend.get_content(u"Utilisateur:Clemux/Test")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue