File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
python/ql/test/library-tests/filters/tests Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 4
4
| test_foo.py:3:1:3:15 | Function test_foo |
5
5
| unittest_test.py:3:1:3:33 | Class FooTest |
6
6
| unittest_test.py:4:5:4:25 | Function test_valid |
7
+ | unittest_test.py:7:1:7:49 | Class FunctionFooTest |
8
+ | unittest_test.py:8:5:8:25 | Function test_valid |
Original file line number Diff line number Diff line change 3
3
class FooTest (unittest .TestCase ):
4
4
def test_valid (self ):
5
5
pass
6
+
7
+ class FunctionFooTest (unittest .FunctionTestCase ):
8
+ def test_valid (self ):
9
+ pass
10
+
11
+ class AsyncTest (unittest .IsolatedAsyncioTestCase ):
12
+ async def test_valid (self ):
13
+ pass
14
+
15
+ # django -- see https://docs.djangoproject.com/en/4.0/topics/testing/overview/
16
+ import django .test
17
+ class MyDjangoUnitTest (django .test .TestCase ):
18
+ def test_valid (self ):
19
+ pass
20
+
21
+ # flask -- see https://pythonhosted.org/Flask-Testing/
22
+ import flask_testing
23
+ class MyFlaskUnitTest (flask_testing .LiveServerTestCase ):
24
+ def test_valid (self ):
25
+ pass
26
+
27
+ # tornado -- see https://www.tornadoweb.org/en/stable/testing.html#tornado.testing.AsyncHTTPTestCase
28
+ import tornado .testing
29
+ class MyTornadoUnitTest (tornado .testing .AsyncHTTPTestCase ):
30
+ def test_valid (self ):
31
+ pass
You can’t perform that action at this time.
0 commit comments