def test_sampling_plus(self):
    self.assertTrue(LicenseFactory(license_code='nc-sampling+').sampling_plus)
    self.assertTrue(LicenseFactory(license_code='sampling+').sampling_plus)
    self.assertFalse(LicenseFactory(license_code='sampling').sampling_plus)
    self.assertFalse(LicenseFactory(license_code='MIT').sampling_plus)
    self.assertFalse(LicenseFactory(license_code='by-nc-nd-sa').sampling_plus)
def test_sampling_plus(self):
    self.assertTrue(LicenseFactory(license_code='nc-sampling+').sampling_plus)
    self.assertTrue(LicenseFactory(license_code='sampling+').sampling_plus)
    self.assertFalse(LicenseFactory(license_code='sampling').sampling_plus)
    self.assertFalse(LicenseFactory(license_code='MIT').sampling_plus)
    self.assertFalse(LicenseFactory(license_code='by-nc-nd-sa').sampling_plus)