Skip to content

Commit 1787670

Browse files
committed
rename test files
1 parent 9a7ecb4 commit 1787670

File tree

3 files changed

+21
-18
lines changed

3 files changed

+21
-18
lines changed

tests/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test.xml

tests/test.py renamed to tests/test_io.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,9 @@
22

33
from unittest import TestCase
44

5-
from labelImg import get_main_app
6-
75
from pascal_voc_io import PascalVocWriter
86
from pascal_voc_io import PascalVocReader
97

10-
11-
class TestMainWindow(TestCase):
12-
13-
app = None
14-
win = None
15-
16-
def setUp(self):
17-
self.app, self.win = get_main_app()
18-
19-
def tearDown(self):
20-
self.win.close()
21-
self.app.quit()
22-
23-
def test_noop(self):
24-
pass
25-
268
# Test Write/Read
279
writer = PascalVocWriter('tests', 'test', (512, 512, 1), localImgPath='tests/test.bmp')
2810
difficult = 1

tests/test_qt.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
from unittest import TestCase
3+
4+
from labelImg import get_main_app
5+
6+
7+
class TestMainWindow(TestCase):
8+
9+
app = None
10+
win = None
11+
12+
def setUp(self):
13+
self.app, self.win = get_main_app()
14+
15+
def tearDown(self):
16+
self.win.close()
17+
self.app.quit()
18+
19+
def test_noop(self):
20+
pass

0 commit comments

Comments
 (0)