File tree 2 files changed +1
-24
lines changed
2 files changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def finalize_options(self):
31
31
self .names = []
32
32
else :
33
33
self .names = ["test_discid.TestModulePrivate" ,
34
- "test_discid.TestModule" , "test_discid.TestClass" ]
34
+ "test_discid.TestModule" ]
35
35
36
36
def run (self ):
37
37
suite = unittest .defaultTestLoader .loadTestsFromNames (self .names )
Original file line number Diff line number Diff line change @@ -102,29 +102,6 @@ def test_put_success(self):
102
102
self .assertEqual (type (track .seconds ), int )
103
103
104
104
105
- class TestClass (unittest .TestCase ):
106
-
107
- def setUp (self ):
108
- self .disc = discid .Disc ()
109
- self .assertTrue (self .disc , "No Disc object created" )
110
-
111
- def test_emptyness (self ):
112
- # all should be empty and don't give exceptions
113
- self .assertTrue (self .disc .id is None )
114
- self .assertTrue (self .disc .freedb_id is None )
115
- self .assertTrue (self .disc .submission_url is None )
116
- self .assertTrue (self .disc .mcn is None )
117
- self .assertFalse (self .disc .first_track_num )
118
- self .assertFalse (self .disc .last_track_num )
119
- self .assertFalse (self .disc .sectors )
120
- self .assertFalse (self .disc .length )
121
- self .assertFalse (self .disc .seconds )
122
- self .assertFalse (self .disc .tracks )
123
-
124
- def tearDown (self ):
125
- self .disc ._free ()
126
-
127
-
128
105
class TestDisc (unittest .TestCase ):
129
106
"""Test reading the disc currently in the drive
130
107
"""
You can’t perform that action at this time.
0 commit comments