Remove all END Test comments
This commit is contained in:
@@ -22,8 +22,8 @@ from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
||||
from PyQt5.QtGui import QKeyEvent, QWheelEvent
|
||||
from PyQt5.QtCore import QEvent, QObject, QPoint, Qt
|
||||
from PyQt5.QtGui import QKeyEvent, QWheelEvent
|
||||
from PyQt5.QtWidgets import QWidget
|
||||
|
||||
from novelwriter.extensions.eventfilters import WheelEventFilter
|
||||
@@ -65,5 +65,3 @@ def testExtEventFilters_WheelEventFilter():
|
||||
eFilter._locked = True
|
||||
eFilter.eventFilter(obj, event)
|
||||
assert widget.count == 1
|
||||
|
||||
# END Test testExtEventFilters_WheelEventFilter
|
||||
|
||||
@@ -24,10 +24,11 @@ import pytest
|
||||
|
||||
from PyQt5.QtCore import QPoint, QPointF, Qt
|
||||
from PyQt5.QtGui import QWheelEvent
|
||||
from tools import SimpleDialog
|
||||
|
||||
from novelwriter.extensions.modified import NComboBox, NDoubleSpinBox, NSpinBox
|
||||
|
||||
from tests.tools import SimpleDialog
|
||||
|
||||
|
||||
class MockWheelEvent(QWheelEvent):
|
||||
|
||||
@@ -70,8 +71,6 @@ def testExtModified_NComboBox(qtbot, monkeypatch):
|
||||
|
||||
# qtbot.stop()
|
||||
|
||||
# END Test testExtModified_NComboBox
|
||||
|
||||
|
||||
@pytest.mark.gui
|
||||
def testExtModified_NSpinBox(qtbot, monkeypatch):
|
||||
@@ -98,8 +97,6 @@ def testExtModified_NSpinBox(qtbot, monkeypatch):
|
||||
|
||||
# qtbot.stop()
|
||||
|
||||
# END Test testExtModified_NSpinBox
|
||||
|
||||
|
||||
@pytest.mark.gui
|
||||
def testExtModified_NDoubleSpinBox(qtbot, monkeypatch):
|
||||
@@ -125,5 +122,3 @@ def testExtModified_NDoubleSpinBox(qtbot, monkeypatch):
|
||||
assert event.ignored is True
|
||||
|
||||
# qtbot.stop()
|
||||
|
||||
# END Test testExtModified_NDoubleSpinBox
|
||||
|
||||
@@ -20,11 +20,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
||||
from urllib.error import HTTPError
|
||||
|
||||
from tools import SimpleDialog
|
||||
import pytest
|
||||
|
||||
from PyQt5.QtCore import QUrl
|
||||
|
||||
@@ -32,6 +30,8 @@ from novelwriter import SHARED
|
||||
from novelwriter.constants import nwConst
|
||||
from novelwriter.extensions.versioninfo import VersionInfoWidget, _Retriever, _RetrieverSignal
|
||||
|
||||
from tests.tools import SimpleDialog
|
||||
|
||||
|
||||
class MockRetriever:
|
||||
signals = _RetrieverSignal()
|
||||
@@ -120,8 +120,6 @@ def testExtVersionInfo_Main(qtbot, monkeypatch):
|
||||
dialog.close()
|
||||
# qtbot.stop()
|
||||
|
||||
# END Test testExtVersionInfo_Main
|
||||
|
||||
|
||||
@pytest.mark.gui
|
||||
def testExtVersionInfo_Retriever(qtbot, monkeypatch):
|
||||
@@ -151,5 +149,3 @@ def testExtVersionInfo_Retriever(qtbot, monkeypatch):
|
||||
with qtbot.waitSignal(task.signals.dataReady) as signal:
|
||||
task.run()
|
||||
assert signal.args == ["", "Oh noes!"]
|
||||
|
||||
# END Test testExtVersionInfo_Retriever
|
||||
|
||||
Reference in New Issue
Block a user