'This method tests that each validation method on ExtensionValidator is
correctly called. Whenever adding a validation method, take care to
include its name in the `validation_methods` list.'

def test_calls(self):

    validation_methods = ['validate_author', 'validate_description', 'validate_file', 'validate_icons', 'validate_json', 'validate_name', 'validate_version']
    mocks = {method: mock.DEFAULT for method in validation_methods}
    with mock.patch.multiple(ExtensionValidator, **mocks):
        self.test_full()
        for method in validation_methods:
            mocked = getattr(ExtensionValidator, method)
            eq_(mocked.call_count, 1)
