Skip to content

Commit

Permalink
update test and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
offish committed Sep 27, 2023
1 parent 8db0eef commit 00cd90c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

Parse TF2 items to SKU format with Python.

tf2-sku is a dependency in [tf2-utils](https://github.com/offish/tf2-utils), which can get item SKUs directly from inventory/offers.

## Donate
- BTC: `bc1qntlxs7v76j0zpgkwm62f6z0spsvyezhcmsp0z2`
- [Steam Trade Offer](https://steamcommunity.com/tradeoffer/new/?partner=293059984&token=0-l_idZR)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_sku.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ def test_uncraftable(self):
self.assertEqual(sku, orginal)

def test_uncraftable_festive(self):
orginal = "208;11;australium;kt-3;festive"
orginal = "305;6;uncraftable;kt-3;festive"
item = from_sku(orginal)
sku = to_sku(item)

self.assertEqual(sku, orginal)

def test_australium_festive(self):
orginal = "206;11;australium;festive"
orginal = "208;11;australium;kt-3;festive"
item = from_sku(orginal)
sku = to_sku(item)

Expand Down

0 comments on commit 00cd90c

Please sign in to comment.