mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-15 02:05:50 +00:00
* This includes: - Incorrect comparisons - Missing type annotations where it can't be inferred - Variable shadowing and bad use - Unused imports - asserts for non-None on types * Passes clean on strict pyright checking except for `reportMissingParameterType`, `reportUnusedVariable`, and `reportOptionalMemberAccess` which are all too spammy and low value to be worth addressing.
15 lines
375 B
Python
15 lines
375 B
Python
import rdtest
|
|
|
|
|
|
class GL_Empty_Capture(rdtest.TestCase):
|
|
demos_test_name = 'GL_Empty_Capture'
|
|
demos_frame_cap = 100
|
|
|
|
def check_capture(self):
|
|
actions = self.controller.GetRootActions()
|
|
|
|
assert len(actions) == 1
|
|
assert 'End' in actions[0].customName
|
|
# EID 1 is the implicit context activation
|
|
assert actions[0].eventId == 2
|