Eisenhaus335 has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/401007 )

Change subject: Create editor_tests.py
......................................................................

Create editor_tests.py

Change-Id: I708c34cc52b62b5fd80d72384fb28eb21aaa5e33
---
M tests/editor_tests.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/07/401007/1

diff --git a/tests/editor_tests.py b/tests/editor_tests.py
index 0e553c2..4451cbb 100644
--- a/tests/editor_tests.py
+++ b/tests/editor_tests.py
@@ -12,13 +12,13 @@
 
 
 def test_editor_edituserconfigpy_same():
-    editor.edit(text=None, jumpIndex=200, highlight='test1')
+    editor.TextEditor.edit(text=None, jumpIndex=200, highlight='test1')
 
 
 def test_editor_edituserconfigpy():
-    editor.edit(text='test1', jumpIndex=200, highlight='test1')
+    editor.TextEditor.edit(text='test1', jumpIndex=200, highlight='test1')
 
 
 def test_editor_command():
     tempfile.TemporaryFile(suffix='test', prefix='txt', dir=os.getcwd())
-    editor.command(tempFilename=os.getcwd() + 'test.txt', text='test')
+    editor.TextEditor.command(tempFilename=os.getcwd() + 'test.txt', 
text='test')

-- 
To view, visit https://gerrit.wikimedia.org/r/401007
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I708c34cc52b62b5fd80d72384fb28eb21aaa5e33
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Eisenhaus335 <greenzone...@outlook.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to