mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
Some tweaks on the license engine (not yet complete).
This commit is contained in:
parent
5e058b33d0
commit
f0df197735
@ -19,6 +19,18 @@ class LicenseTests(BaseTest):
|
||||
super(LicenseTests, self).setUp()
|
||||
|
||||
def test_license_writer(self):
|
||||
|
||||
writer = LicenseWriter(
|
||||
company_name='acmecorp',
|
||||
contact_name='Michael DeHaan',
|
||||
contact_email='michael@ansibleworks.com',
|
||||
license_date=25000, # seconds since epoch
|
||||
instance_count=500
|
||||
)
|
||||
|
||||
print writer.get_data()
|
||||
print writer.get_string()
|
||||
|
||||
assert 2 == 4
|
||||
|
||||
def test_license_reader(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user