ccs-digitalmarketplace-frameworks 4.0.13 → 4.1.0

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.
@@ -1,17 +1,20 @@
1
1
  -
2
2
  name: Award question - Capability and capacity
3
+ slug: capability-capacity
3
4
  editable: True
4
5
  questions:
5
6
  - multiqDemonstrateCapabilityAndCapacity
6
7
 
7
8
  -
8
9
  name: Award question - Quality and innovation
10
+ slug: quality-innovation
9
11
  editable: True
10
12
  questions:
11
13
  - multiqDemonstrateQualityAndInnovation
12
14
 
13
15
  -
14
16
  name: Award question - Continuous improvement and knowledge transfer
17
+ slug: continuous-improvement-and-knowledge-transfer
15
18
  editable: True
16
19
  questions:
17
20
  - multiqContinuousImprovementAndKnowledgeTransfer
@@ -6,18 +6,18 @@ type: radios
6
6
 
7
7
  options:
8
8
  - label: You have set up a joint venture company or special purpose vehicle (SPV) and are submitting a tender in the name of the joint venture via the SPV Digital Marketplace account
9
- value: joint-ventrue
9
+ value: joint-venture
10
10
  - label: You have not set up a joint venture company or special purpose vehicle (SPV) prior to submitting a tender, but if your tender is successful, you will form a specific legal entity, a joint venture company or special purpose vehicle (SPV) before signing the Framework Contract
11
11
  value: joint-venture-if-successful
12
12
  - label: You have not set up a joint venture company or special purpose vehicle (SPV) prior to submitting a tender, and will not if your tender is successful
13
- value: no-joint-ventrue
13
+ value: no-joint-venture
14
14
 
15
15
  followup:
16
16
  multiqStatementDetail:
17
17
  - joint-venture-if-successful
18
- - no-joint-ventrue
18
+ - no-joint-venture
19
19
  tenderInfoMultiqConnectedPersons:
20
- - joint-ventrue
20
+ - joint-venture
21
21
 
22
22
  validations:
23
23
  -
@@ -1,4 +1,4 @@
1
- name: Name of consortium
1
+ name: Deliver all mandatory service requirements
2
2
  question: If you are awarded a framework contract, will you deliver in full all mandatory service requirements in Framework Schedule 1 (Specification) for each Lot you have successfully tendered for?
3
3
  question_advice: >
4
4
  <p class="govuk-body">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccs-digitalmarketplace-frameworks",
3
- "version": "4.0.13",
3
+ "version": "4.1.0",
4
4
  "description": "Data files for Digital Marketplace’s procurement frameworks",
5
5
  "repository": "git@github.com:Crown-Commercial-Service/ccs-digitalmarketplace-frameworks",
6
6
  "author": "enquiries@digitalmarketplace.service.gov.uk"
@@ -30,7 +30,7 @@ ccs-digitalmarketplace-apiclient==28.0.0
30
30
  # via
31
31
  # -r requirements.txt
32
32
  # ccs-digitalmarketplace-utils
33
- ccs-digitalmarketplace-content-loader==13.5.0
33
+ ccs-digitalmarketplace-content-loader==13.6.0
34
34
  # via -r requirements.txt
35
35
  ccs-digitalmarketplace-utils==69.0.0
36
36
  # via
@@ -114,7 +114,7 @@ govuk-country-register==0.5.0
114
114
  # via
115
115
  # -r requirements.txt
116
116
  # ccs-digitalmarketplace-utils
117
- hypothesis==6.130.5
117
+ hypothesis==6.130.9
118
118
  # via -r requirements-dev.in
119
119
  identify==2.6.8
120
120
  # via pre-commit
package/requirements.in CHANGED
@@ -1,5 +1,5 @@
1
1
  docopt==0.6.2
2
2
  deepmerge==2.0
3
3
  python-json-logger==2.0.7
4
- ccs-digitalmarketplace-content-loader==13.5.0
4
+ ccs-digitalmarketplace-content-loader==13.6.0
5
5
  ccs-digitalmarketplace-utils==69.0.0
package/requirements.txt CHANGED
@@ -16,7 +16,7 @@ cachelib==0.13.0
16
16
  # via flask-session
17
17
  ccs-digitalmarketplace-apiclient==28.0.0
18
18
  # via ccs-digitalmarketplace-utils
19
- ccs-digitalmarketplace-content-loader==13.5.0
19
+ ccs-digitalmarketplace-content-loader==13.6.0
20
20
  # via -r requirements.in
21
21
  ccs-digitalmarketplace-utils==69.0.0
22
22
  # via
@@ -0,0 +1,75 @@
1
+ import glob
2
+
3
+ import pytest
4
+
5
+ from dmcontent import ContentLoader
6
+ from dmcontent.errors import ContentNotFoundError
7
+
8
+ content = ContentLoader('./')
9
+
10
+
11
+ EXCLUDED_FRAMEWORKS = [
12
+ 'digital-outcomes-and-specialists',
13
+ 'digital-outcomes-and-specialists-2',
14
+ 'digital-outcomes-and-specialists-3',
15
+ 'digital-outcomes-and-specialists-4',
16
+ 'digital-outcomes-and-specialists-5',
17
+ 'g-cloud-6',
18
+ 'g-cloud-7',
19
+ 'g-cloud-8',
20
+ 'g-cloud-9',
21
+ 'g-cloud-10',
22
+ 'g-cloud-11',
23
+ 'g-cloud-12',
24
+ ]
25
+
26
+
27
+ def get_evaluation_manifests():
28
+ paths = glob.glob('frameworks/*')
29
+ for path in paths:
30
+ _, framework = path.split('/')
31
+ if framework in EXCLUDED_FRAMEWORKS:
32
+ continue
33
+
34
+ try:
35
+ content.load_manifest(
36
+ framework,
37
+ 'additional-lot-questions',
38
+ 'edit_additional_lot_questions'
39
+ )
40
+ content.load_manifest(
41
+ framework,
42
+ 'additional-lot-questions',
43
+ 'evaluations'
44
+ )
45
+ except ContentNotFoundError:
46
+ continue
47
+
48
+ for framework, framework_manifests in content._content.items():
49
+ if (
50
+ 'edit_additional_lot_questions' not in framework_manifests
51
+ or 'evaluations' not in framework_manifests
52
+ ):
53
+ continue
54
+
55
+ yield (
56
+ framework,
57
+ framework_manifests['edit_additional_lot_questions'],
58
+ framework_manifests['evaluations']
59
+ )
60
+
61
+
62
+ @pytest.mark.parametrize(
63
+ ('framework', 'additional_lot_questions_manifest', 'evaluations_manifest'),
64
+ get_evaluation_manifests()
65
+ )
66
+ def test_sections_have_the_same_slugs_for_evaluation(
67
+ framework,
68
+ additional_lot_questions_manifest,
69
+ evaluations_manifest
70
+ ):
71
+ assert [
72
+ section['slug'] for section in additional_lot_questions_manifest
73
+ ] == [
74
+ section['slug'] for section in evaluations_manifest
75
+ ], f"Evaluation sections do not slign for {framework}"