Skip to content

Commit

Permalink
small changes to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Aug 31, 2022
1 parent 6c3de38 commit 40c51ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push]

jobs:
build:
name: Build, Test & Analyse
name: Lint & Test (flake8 & pytest)

runs-on: ubuntu-latest

Expand Down
13 changes: 7 additions & 6 deletions tests/utilities/test_render.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
from PyQt5 import QtWidgets
# from PyQt5 import QtWidgets

from QtPyHammer.utilities import render
# from QtPyHammer.utilities import render


class TestRenderManager:
def test_init(self, qtbot): # WIP
gl_widget = QtWidgets.QOpenGLWidget()
render_manager = render.Manager(2048, 90, 256)
gl_widget.initializeGL = render_manager.initGL()
qtbot.addWidget(gl_widget)
pass
# gl_widget = QtWidgets.QOpenGLWidget()
# render_manager = render.Manager(2048, 90, 256)
# gl_widget.initializeGL = render_manager.initialise("shaders")
# qtbot.addWidget(gl_widget)

0 comments on commit 40c51ee

Please sign in to comment.