Implement new license validation logic per spec "30 Day Trial

Engineering Spec" + Unit Tests
This commit is contained in:
Matthew Jones
2014-08-04 13:54:13 -04:00
parent e50711e301
commit 11799ff25f
3 changed files with 60 additions and 2 deletions

View File

@@ -274,7 +274,7 @@ class InventoryTest(BaseTest):
inventories_2 = reverse('api:inventory_detail', args=(self.inventory_b.pk,))
hosts = reverse('api:host_list')
groups = reverse('api:group_list')
self.create_test_license_file()
# a super user can add hosts (but inventory ID is required)
inv = Inventory.objects.create(