[LINT] import needed time module, ignore editor's result (+pep8)

- time.sleep() needs its module to be imported first
- editarticle.Texeditor's result is not used. So we may call it
  as a procedure and not as a function
- pep8 changes E501

Change-Id: Iab6d4a035a964189f3ad162bd47f926229911004