예제 #1
0
 def test_get_release_requires_key_returns_empty_when_not_required(self):
     release = make_rpc_release(requires_license_key=False)
     self.assertEqual("", get_release_requires_key(release))
예제 #2
0
 def test_get_release_requires_key_returns_asterisk_when_required(self):
     release = make_rpc_release(requires_license_key=True)
     self.assertEqual("*", get_release_requires_key(release))