Ejemplo n.º 1
0
 def test_parent_permissions(self):
     folder_perms = preconditions.FolderPermissions("1234567890",
                                                    parent=True)
     self.assertEqual(folder_perms.permissions, [
         "resourcemanager.projects.create",
         "resourcemanager.folders.get",
     ])
 def test_base_permissions(self):
     folder_perms = preconditions.FolderPermissions("1234567890")
     self.assertEqual(folder_perms.permissions, [])