pulp_2to3_migration_client 0.2.0b4.dev01592833441 → 0.2.0b4.dev01592853251

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/lib/pulp_2to3_migration_client/version.rb +1 -1
  4. metadata +1 -40
  5. data/pulpcore/__init__.py +0 -2
  6. data/pulpcore/client/__init__.py +0 -2
  7. data/pulpcore/client/pulp_2to3_migration/__init__.py +0 -42
  8. data/pulpcore/client/pulp_2to3_migration/api/__init__.py +0 -8
  9. data/pulpcore/client/pulp_2to3_migration/api/migration_plans_api.py +0 -609
  10. data/pulpcore/client/pulp_2to3_migration/api/pulp2content_api.py +0 -317
  11. data/pulpcore/client/pulp_2to3_migration/api/pulp2repositories_api.py +0 -289
  12. data/pulpcore/client/pulp_2to3_migration/api_client.py +0 -647
  13. data/pulpcore/client/pulp_2to3_migration/configuration.py +0 -387
  14. data/pulpcore/client/pulp_2to3_migration/exceptions.py +0 -120
  15. data/pulpcore/client/pulp_2to3_migration/models/__init__.py +0 -25
  16. data/pulpcore/client/pulp_2to3_migration/models/async_operation_response.py +0 -123
  17. data/pulpcore/client/pulp_2to3_migration/models/inline_response200.py +0 -198
  18. data/pulpcore/client/pulp_2to3_migration/models/inline_response2001.py +0 -198
  19. data/pulpcore/client/pulp_2to3_migration/models/inline_response2002.py +0 -198
  20. data/pulpcore/client/pulp_2to3_migration/models/migration_plan_run.py +0 -150
  21. data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan.py +0 -177
  22. data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan_read.py +0 -177
  23. data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_content_read.py +0 -353
  24. data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_pulp2_repository_read.py +0 -441
  25. data/pulpcore/client/pulp_2to3_migration/rest.py +0 -296
  26. data/requirements.txt +0 -6
  27. data/setup.cfg +0 -2
  28. data/setup.py +0 -41
  29. data/test-requirements.txt +0 -3
  30. data/test/__init__.py +0 -0
  31. data/test/test_async_operation_response.py +0 -53
  32. data/test/test_inline_response200.py +0 -67
  33. data/test/test_inline_response2001.py +0 -79
  34. data/test/test_inline_response2002.py +0 -89
  35. data/test/test_migration_plan_run.py +0 -53
  36. data/test/test_migration_plans_api.py +0 -68
  37. data/test/test_pulp2content_api.py +0 -47
  38. data/test/test_pulp2repositories_api.py +0 -47
  39. data/test/test_pulp2to3_migration_migration_plan.py +0 -55
  40. data/test/test_pulp2to3_migration_migration_plan_read.py +0 -55
  41. data/test/test_pulp2to3_migration_pulp2_content_read.py +0 -64
  42. data/test/test_pulp2to3_migration_pulp2_repository_read.py +0 -68
  43. data/tox.ini +0 -9
@@ -1,47 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: v3
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
-
17
- import pulpcore.client.pulp_2to3_migration
18
- from pulpcore.client.pulp_2to3_migration.api.pulp2content_api import Pulp2contentApi # noqa: E501
19
- from pulpcore.client.pulp_2to3_migration.rest import ApiException
20
-
21
-
22
- class TestPulp2contentApi(unittest.TestCase):
23
- """Pulp2contentApi unit test stubs"""
24
-
25
- def setUp(self):
26
- self.api = pulpcore.client.pulp_2to3_migration.api.pulp2content_api.Pulp2contentApi() # noqa: E501
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def test_list(self):
32
- """Test case for list
33
-
34
- List pulp2 contents # noqa: E501
35
- """
36
- pass
37
-
38
- def test_read(self):
39
- """Test case for read
40
-
41
- Inspect a pulp2 content # noqa: E501
42
- """
43
- pass
44
-
45
-
46
- if __name__ == '__main__':
47
- unittest.main()
@@ -1,47 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: v3
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
-
17
- import pulpcore.client.pulp_2to3_migration
18
- from pulpcore.client.pulp_2to3_migration.api.pulp2repositories_api import Pulp2repositoriesApi # noqa: E501
19
- from pulpcore.client.pulp_2to3_migration.rest import ApiException
20
-
21
-
22
- class TestPulp2repositoriesApi(unittest.TestCase):
23
- """Pulp2repositoriesApi unit test stubs"""
24
-
25
- def setUp(self):
26
- self.api = pulpcore.client.pulp_2to3_migration.api.pulp2repositories_api.Pulp2repositoriesApi() # noqa: E501
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def test_list(self):
32
- """Test case for list
33
-
34
- List pulp2 repositorys # noqa: E501
35
- """
36
- pass
37
-
38
- def test_read(self):
39
- """Test case for read
40
-
41
- Inspect a pulp2 repository # noqa: E501
42
- """
43
- pass
44
-
45
-
46
- if __name__ == '__main__':
47
- unittest.main()
@@ -1,55 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: v3
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import pulpcore.client.pulp_2to3_migration
19
- from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_migration_plan import Pulp2to3MigrationMigrationPlan # noqa: E501
20
- from pulpcore.client.pulp_2to3_migration.rest import ApiException
21
-
22
- class TestPulp2to3MigrationMigrationPlan(unittest.TestCase):
23
- """Pulp2to3MigrationMigrationPlan unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test Pulp2to3MigrationMigrationPlan
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_migration_plan.Pulp2to3MigrationMigrationPlan() # noqa: E501
37
- if include_optional :
38
- return Pulp2to3MigrationMigrationPlan(
39
- pulp_href = '0',
40
- pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
41
- plan = pulpcore.client.pulp_2to3_migration.models.plan.Plan()
42
- )
43
- else :
44
- return Pulp2to3MigrationMigrationPlan(
45
- plan = pulpcore.client.pulp_2to3_migration.models.plan.Plan(),
46
- )
47
-
48
- def testPulp2to3MigrationMigrationPlan(self):
49
- """Test Pulp2to3MigrationMigrationPlan"""
50
- inst_req_only = self.make_instance(include_optional=False)
51
- inst_req_and_optional = self.make_instance(include_optional=True)
52
-
53
-
54
- if __name__ == '__main__':
55
- unittest.main()
@@ -1,55 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: v3
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import pulpcore.client.pulp_2to3_migration
19
- from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_migration_plan_read import Pulp2to3MigrationMigrationPlanRead # noqa: E501
20
- from pulpcore.client.pulp_2to3_migration.rest import ApiException
21
-
22
- class TestPulp2to3MigrationMigrationPlanRead(unittest.TestCase):
23
- """Pulp2to3MigrationMigrationPlanRead unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test Pulp2to3MigrationMigrationPlanRead
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_migration_plan_read.Pulp2to3MigrationMigrationPlanRead() # noqa: E501
37
- if include_optional :
38
- return Pulp2to3MigrationMigrationPlanRead(
39
- pulp_href = '0',
40
- pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
41
- plan = pulpcore.client.pulp_2to3_migration.models.plan.Plan()
42
- )
43
- else :
44
- return Pulp2to3MigrationMigrationPlanRead(
45
- plan = pulpcore.client.pulp_2to3_migration.models.plan.Plan(),
46
- )
47
-
48
- def testPulp2to3MigrationMigrationPlanRead(self):
49
- """Test Pulp2to3MigrationMigrationPlanRead"""
50
- inst_req_only = self.make_instance(include_optional=False)
51
- inst_req_and_optional = self.make_instance(include_optional=True)
52
-
53
-
54
- if __name__ == '__main__':
55
- unittest.main()
@@ -1,64 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: v3
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import pulpcore.client.pulp_2to3_migration
19
- from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_content_read import Pulp2to3MigrationPulp2ContentRead # noqa: E501
20
- from pulpcore.client.pulp_2to3_migration.rest import ApiException
21
-
22
- class TestPulp2to3MigrationPulp2ContentRead(unittest.TestCase):
23
- """Pulp2to3MigrationPulp2ContentRead unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test Pulp2to3MigrationPulp2ContentRead
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_content_read.Pulp2to3MigrationPulp2ContentRead() # noqa: E501
37
- if include_optional :
38
- return Pulp2to3MigrationPulp2ContentRead(
39
- pulp_href = '0',
40
- pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
41
- pulp2_id = '0',
42
- pulp2_content_type_id = '0',
43
- pulp2_last_updated = 56,
44
- pulp2_storage_path = '0',
45
- downloaded = True,
46
- pulp3_content = '0',
47
- pulp3_repository_version = '0'
48
- )
49
- else :
50
- return Pulp2to3MigrationPulp2ContentRead(
51
- pulp2_id = '0',
52
- pulp2_content_type_id = '0',
53
- pulp2_last_updated = 56,
54
- pulp2_storage_path = '0',
55
- )
56
-
57
- def testPulp2to3MigrationPulp2ContentRead(self):
58
- """Test Pulp2to3MigrationPulp2ContentRead"""
59
- inst_req_only = self.make_instance(include_optional=False)
60
- inst_req_and_optional = self.make_instance(include_optional=True)
61
-
62
-
63
- if __name__ == '__main__':
64
- unittest.main()
@@ -1,68 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
-
8
- The version of the OpenAPI document: v3
9
- Generated by: https://openapi-generator.tech
10
- """
11
-
12
-
13
- from __future__ import absolute_import
14
-
15
- import unittest
16
- import datetime
17
-
18
- import pulpcore.client.pulp_2to3_migration
19
- from pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_repository_read import Pulp2to3MigrationPulp2RepositoryRead # noqa: E501
20
- from pulpcore.client.pulp_2to3_migration.rest import ApiException
21
-
22
- class TestPulp2to3MigrationPulp2RepositoryRead(unittest.TestCase):
23
- """Pulp2to3MigrationPulp2RepositoryRead unit test stubs"""
24
-
25
- def setUp(self):
26
- pass
27
-
28
- def tearDown(self):
29
- pass
30
-
31
- def make_instance(self, include_optional):
32
- """Test Pulp2to3MigrationPulp2RepositoryRead
33
- include_option is a boolean, when False only required
34
- params are included, when True both required and
35
- optional params are included """
36
- # model = pulpcore.client.pulp_2to3_migration.models.pulp2to3_migration_pulp2_repository_read.Pulp2to3MigrationPulp2RepositoryRead() # noqa: E501
37
- if include_optional :
38
- return Pulp2to3MigrationPulp2RepositoryRead(
39
- pulp_href = '0',
40
- pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
41
- pulp2_object_id = '0',
42
- pulp2_repo_id = '0',
43
- pulp2_repo_type = '0',
44
- is_migrated = True,
45
- not_in_plan = True,
46
- pulp3_repository_version = '0',
47
- pulp3_remote_href = '0',
48
- pulp3_publication_href = '0',
49
- pulp3_distribution_hrefs = [
50
- '0'
51
- ],
52
- pulp3_repository_href = '0'
53
- )
54
- else :
55
- return Pulp2to3MigrationPulp2RepositoryRead(
56
- pulp2_object_id = '0',
57
- pulp2_repo_id = '0',
58
- pulp2_repo_type = '0',
59
- )
60
-
61
- def testPulp2to3MigrationPulp2RepositoryRead(self):
62
- """Test Pulp2to3MigrationPulp2RepositoryRead"""
63
- inst_req_only = self.make_instance(include_optional=False)
64
- inst_req_and_optional = self.make_instance(include_optional=True)
65
-
66
-
67
- if __name__ == '__main__':
68
- unittest.main()
data/tox.ini DELETED
@@ -1,9 +0,0 @@
1
- [tox]
2
- envlist = py27, py3
3
-
4
- [testenv]
5
- deps=-r{toxinidir}/requirements.txt
6
- -r{toxinidir}/test-requirements.txt
7
-
8
- commands=
9
- pytest --cov=pulpcore.client.pulp_2to3_migration