Skip to content

Commit

Permalink
add a model test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeliza committed Dec 7, 2024
1 parent cd8989e commit dcccce7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions inventory/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ def unit_size(self):
self.unit,
)

def total_price(self):
return (self.cost or 0) * self.units_purchased

def vendor_url(self):
try:
return self.vendor.lookup_url % self.catalog
Expand Down

0 comments on commit dcccce7

Please sign in to comment.