feat: UV is 27 cm wide (Dropstar, 2026-10-28)
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 3m27s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m0s
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 3m27s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m0s
It was 28,5 cm. The Site's UV products, ready-sheet check, layout and size shortcuts, the server's film-width check, the print file and the Tiny item names follow; two pieces of up to 13,2 cm share a UV row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -213,8 +213,8 @@ class TinyTests(FakeTinyCase):
|
||||
self.products['103']['situacao'] = 'I'
|
||||
with mock.patch.dict(os.environ, {'TINY_PRODUCT_UV_AVULSA': ''}):
|
||||
results = check(auth=FakeAuth(), transport=httpx.MockTransport(self.handler))
|
||||
self.assertIn('não está ativo', results['DTF UV 28,5 cm · folha montada'])
|
||||
self.assertEqual(results['DTF UV 28,5 cm · artes avulsas'], 'TINY_PRODUCT_UV_AVULSA sem id')
|
||||
self.assertIn('não está ativo', results['DTF UV 27 cm · folha montada'])
|
||||
self.assertEqual(results['DTF UV 27 cm · artes avulsas'], 'TINY_PRODUCT_UV_AVULSA sem id')
|
||||
self.assertEqual(results['pedidos'], 'ok')
|
||||
# The order list is asked by date: unfiltered, Tiny times out on a large account.
|
||||
asked = []
|
||||
@@ -528,10 +528,10 @@ class TinyStepSkuTests(FakeTinyCase):
|
||||
def test_settings_and_check_know_the_step_sku(self):
|
||||
from app.tiny import check, required_settings
|
||||
self.assertNotIn('TINY_PRODUCT_UV_FOLHA', required_settings())
|
||||
self.assertEqual(check(orders=self.tiny)['DTF UV 28,5 cm · folha montada'], 'ok')
|
||||
self.assertEqual(check(orders=self.tiny)['DTF UV 27 cm · folha montada'], 'ok')
|
||||
del self.products['300']
|
||||
self.tiny.skus.clear()
|
||||
self.assertIn('DTFIMP.UV.010CM', check(orders=self.tiny)['DTF UV 28,5 cm · folha montada'])
|
||||
self.assertIn('DTFIMP.UV.010CM', check(orders=self.tiny)['DTF UV 27 cm · folha montada'])
|
||||
|
||||
|
||||
@product_ids
|
||||
@@ -555,10 +555,10 @@ class TinyMetreAndStepSkuTests(FakeTinyCase):
|
||||
def test_whole_metres_alone_and_the_check(self):
|
||||
from app.tiny import check, step_lines
|
||||
self.assertEqual(step_lines({'billed_metres': '2', 'unit_cents': 6990}, 'C', 'M'), [('M', 2, 6990)])
|
||||
self.assertEqual(check(orders=self.tiny)['DTF UV 28,5 cm · folha montada'], 'ok')
|
||||
self.assertEqual(check(orders=self.tiny)['DTF UV 27 cm · folha montada'], 'ok')
|
||||
del self.products['301']
|
||||
self.tiny.skus.clear()
|
||||
self.assertIn('DTFIMP.UV.1MT', check(orders=self.tiny)['DTF UV 28,5 cm · folha montada'])
|
||||
self.assertIn('DTFIMP.UV.1MT', check(orders=self.tiny)['DTF UV 27 cm · folha montada'])
|
||||
|
||||
|
||||
@product_ids
|
||||
@@ -578,7 +578,7 @@ class TinyProbeTests(FakeTinyCase):
|
||||
self.assertIn('101\tDTF-101\tProduto 101', text)
|
||||
code, text = self.probe('conferir')
|
||||
self.assertEqual(code, 0)
|
||||
self.assertIn('TINY_PRODUCT_UV_AVULSA (DTF UV 28,5 cm · artes avulsas): ok DTF-104', text)
|
||||
self.assertIn('TINY_PRODUCT_UV_AVULSA (DTF UV 27 cm · artes avulsas): ok DTF-104', text)
|
||||
self.assertIn('TINY_FORMA_ENVIO_RETIRADA (retirada): ok Retirar pessoalmente', text)
|
||||
code, text = self.probe('formas-envio')
|
||||
self.assertIn('77\t6\tRetirar pessoalmente', text)
|
||||
|
||||
Reference in New Issue
Block a user