You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
291 B

import unittest
from sample.query import query_parts
class TestPartNumber(unittest.TestCase):
def test_part_numbers(self, url):
test = query_parts.get_part_number("https://www.bricklink.com/CatalogItemInv.asp?S=75308-1")
self.assertEqual(test[150], "3034")