Skip to content

Commit

Permalink
CHORE: Suspend development of FApplication subclass until there is a …
Browse files Browse the repository at this point in the history
…need for it.

This is in part due to difficulties in testing it, see:

#97
  • Loading branch information
genedan committed Jun 24, 2023
1 parent 82e0cae commit f5bdb18
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 12 deletions.
8 changes: 4 additions & 4 deletions faslr/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from faslr.core.application import (
FApplication,
)
# from faslr.core.application import (
# FApplication,
# )

from faslr.core.core import (
FCore
)
)
20 changes: 12 additions & 8 deletions faslr/core/application.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
from PyQt6.QtWidgets import (
QApplication
)


class FApplication(QApplication):
def __init__(self):
super().__init__()
# from PyQt6.QtWidgets import (
# QApplication
# )
#
#
# class FApplication(QApplication):
# def __init__(
# self,
# *argv
# ):
# super().__init__(*argv)
#
24 changes: 24 additions & 0 deletions faslr/tests/core/test_application.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# import sys
#
# import pytest
#
# from faslr.core import FApplication
#
# from pytestqt.qtbot import QtBot
#
#
# @pytest.fixture(scope="session")
# def f_application():
#
# app = FApplication(sys.argv)
#
# return app
#
#
# def test_f_application(
# qtbot: QtBot,
# f_application: FApplication
# ) -> None:
#
# app = f_application
#

0 comments on commit f5bdb18

Please sign in to comment.