Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrizzFTD committed Mar 13, 2021
1 parent b1a29ab commit db0ecb9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/test_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,6 @@ class SubTime(DateTimeFile):
tf = SubTime("1999-10-28 1-1-1-1 subclassed.txt")
self.assertEqual("subclassed", tf.extra)

def test_mro(self):
SUFFIX = "abc"

class TimedAsset(DateTimeFile, CGAssetFile):
file_config = naming.NameConfig(dict(suffix=SUFFIX))

@property
def _defaults(self):
result = super()._defaults
result.update(suffix=SUFFIX)
return result

ta = TimedAsset.get_default(area='test')
self.assertEqual(ta.suffix, SUFFIX)

def test_default_suffix(self):
suf1 = 'abc'
class TimedAssetFile(DateTimeFile, CGAssetFile):
Expand Down

0 comments on commit db0ecb9

Please sign in to comment.