A test earns its place when a plausible mistake makes it fail. assert subject.delivery_fee(3) > 0 passes for the right fee and for most wrong ones, so it proves very little. Name the exact result the contract promises and compare with ==: a number, a list in its order, a whole dictionary.
Pick inputs that separate the right answer from the likely wrong ones. A fee of base plus a per-kilogram rate needs a weight above zero, or a version that drops the rate still passes. A result of 0 and a result of None are different answers, and assert not value cannot tell them apart.
Each task here gives you a small module called subject and its contract. Your tests run against the correct module and against two versions with one fault each. They must pass the first and fail both of the others. Hidden checks change the module's constants, so build expected values from subject.BASE and the like rather than copying the numbers you see.
Build the expected value from the module constants. A version that forgets the base or the rate gives a different number.