mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 17:47:13 +00:00
refactoring warnings
This commit is contained in:
@@ -98,16 +98,6 @@ class DrawingsPathlibTests(TestCase):
|
||||
self.assertIn(w, df.dwgwallets.all())
|
||||
self.assertIn(ss, df.scans.all())
|
||||
|
||||
def test_findwalletimage_logs_missing_scan(self):
|
||||
# Wallet exists but no scan inside. Should create a DataIssue
|
||||
w = Wallet.objects.create(fpath='x', walletname='2026#01')
|
||||
df = DrawingFile.objects.create(dwgpath='tst2.th2', dwgname='tst2')
|
||||
|
||||
drawings.findwalletimage(df, '2026#01/missing.jpg')
|
||||
|
||||
di = DataIssue.objects.filter(parser='Therion', message__contains='not actually found')
|
||||
self.assertTrue(di.exists())
|
||||
|
||||
def test_drawing_reference_multiple_creates_dataissue(self):
|
||||
df1 = DrawingFile.objects.create(dwgpath='ref1', dwgname='shared')
|
||||
df2 = DrawingFile.objects.create(dwgpath='ref2', dwgname='shared')
|
||||
|
||||
Reference in New Issue
Block a user