Created
January 23, 2017 22:27
-
-
Save katiayn/445db11c9048eb6afdf8ab4f01ab0d12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ProductQuestionnaireCreateTestCase(SimpleTestCase): | |
def test_vat_20_if_biscuit_coated_in_chocolate(self): | |
calc = VATCalculator() | |
self.assertEqual( | |
calc.calculate_vat( | |
is_biscuit=True, | |
is_coated_in_chocolate=True | |
), 20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment