def test_repr(self): """Return a string representing a packet.""" pk = Packet() pk.sku = '8675309' assert pk.__repr__() == '<Packet SKU #8675309>'