diracx-cli 0.0.1a48__tar.gz → 0.0.1a49__tar.gz

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 (23) hide show
  1. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/PKG-INFO +1 -1
  2. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/legacy/cs_sync/integration_test.yaml +6 -94
  3. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/legacy/cs_sync/test_cssync.py +6 -1
  4. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/.gitignore +0 -0
  5. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/README.md +0 -0
  6. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/pyproject.toml +0 -0
  7. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/__init__.py +0 -0
  8. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/__main__.py +0 -0
  9. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/auth.py +0 -0
  10. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/config.py +0 -0
  11. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/internal/__init__.py +0 -0
  12. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/internal/config.py +0 -0
  13. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/internal/legacy.py +0 -0
  14. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/jobs.py +0 -0
  15. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/py.typed +0 -0
  16. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/src/diracx/cli/utils.py +0 -0
  17. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/legacy/cs_sync/integration_test.cfg +0 -0
  18. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/legacy/cs_sync/integration_test_buggy.cfg +0 -0
  19. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/legacy/cs_sync/integration_test_secret.cfg +0 -0
  20. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/legacy/test_legacy.py +0 -0
  21. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/test_internal.py +0 -0
  22. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/test_jobs.py +0 -0
  23. {diracx_cli-0.0.1a48 → diracx_cli-0.0.1a49}/tests/test_login.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diracx-cli
3
- Version: 0.0.1a48
3
+ Version: 0.0.1a49
4
4
  Summary: TODO
5
5
  License: GPL-3.0-only
6
6
  Classifier: Intended Audience :: Science/Research
@@ -33,6 +33,7 @@ Operations:
33
33
  CatalogList: FileCatalog, TSCatalog, MultiVOFileCatalog
34
34
  Transformations:
35
35
  DataProcessing: MCSimulation, Merge, DataReprocessing
36
+ Jenkins: {}
36
37
  vo:
37
38
  Shifter:
38
39
  DataManager:
@@ -131,94 +132,7 @@ Registry:
131
132
  - /C=ch/O=DIRAC/OU=DIRAC CI/CN=trialUser
132
133
  Email: lhcb-dirac-ci@cern.ch
133
134
  PreferedUsername: trialUser
134
- Resources:
135
- FTSEndpoints:
136
- FTS3:
137
- JENKINS-FTS3: https://jenkins-fts3.cern.ch:8446
138
- FileCatalogs:
139
- FileCatalog:
140
- AccessType: Read-Write
141
- Master: 'True'
142
- Status: Active
143
- MultiVOFileCatalog:
144
- AccessType: Read-Write
145
- CatalogType: FileCatalog
146
- CatalogURL: DataManagement/MultiVOFileCatalog
147
- Status: Active
148
- TSCatalog:
149
- AccessType: Write
150
- CatalogType: TSCatalog
151
- CatalogURL: Transformation/TransformationManager
152
- Status: Active
153
- Sites:
154
- DIRAC:
155
- DIRAC.Jenkins.ch:
156
- CEs:
157
- jenkins.cern.ch:
158
- CEType: Test
159
- Queues:
160
- jenkins-queue_not_important:
161
- SI00: '2400'
162
- maxCPUTime: '200000'
163
- Name: aNameWhatSoEver
164
- SE: SE-1
165
- jenkins.cern.ch:
166
- QueuesResources:
167
- Sites:
168
- DIRAC:
169
- DIRAC.Jenkins.ch:
170
- jenkins.cern.ch:
171
- Queues:
172
- jenkins-queue_not_important: {}
173
- StorageElements:
174
- ProductionSandboxSE:
175
- AccessProtocol: dips
176
- BackendType: DISET
177
- DIP:
178
- Access: remote
179
- Host: localhost
180
- Path: sandboxes
181
- Port: '9196'
182
- Protocol: dips
183
- ProtocolName: DIP
184
- S3-DIRECT:
185
- AccessProtocols: s3
186
- S3:
187
- Access: remote
188
- Aws_access_key_id: FakeId
189
- Aws_secret_access_key: 'True'
190
- Host: s3-direct
191
- Path: my-first-bucket
192
- Port: '9090'
193
- Protocol: s3
194
- SecureConnection: 'False'
195
- WriteProtocols: s3
196
- S3-INDIRECT:
197
- AccessProtocols: s3
198
- S3:
199
- Access: remote
200
- Host: s3-direct
201
- Path: my-first-bucket
202
- Port: '9090'
203
- Protocol: s3
204
- SecureConnection: 'False'
205
- WriteProtocols: s3
206
- SE-1:
207
- AccessProtocol: dips
208
- DIP:
209
- Access: remote
210
- Host: server
211
- Path: /DataManagement/SE-1
212
- Port: '9148'
213
- Protocol: dips
214
- SE-2:
215
- AccessProtocol: dips
216
- DIP:
217
- Access: remote
218
- Host: server
219
- Path: /DataManagement/SE-2
220
- Port: '9147'
221
- Protocol: dips
135
+ Resources: {}
222
136
  Systems:
223
137
  Accounting:
224
138
  Databases:
@@ -690,9 +604,8 @@ Systems:
690
604
  SubmitStatus: Active, Completing
691
605
  SubmitTasks: 'yes'
692
606
  TaskUpdateChunkSize: '0'
693
- TaskUpdateStatus: Checking, Deleted, Killed, Staging, Stalled, Matched,
694
- Scheduled, Rescheduled, Completed, Submitted, Assigned, Received, Waiting,
695
- Running
607
+ TaskUpdateStatus: Checking, Deleted, Killed, Staging, Stalled, Matched, Scheduled,
608
+ Rescheduled, Completed, Submitted, Assigned, Received, Waiting, Running
696
609
  TasksPerLoop: '50'
697
610
  TransType: ''
698
611
  UpdateFilesStatus: Active, Completing, Stopped
@@ -726,8 +639,7 @@ Systems:
726
639
  TaskUpdateStatus: Submitted, Received, Waiting, Running, Matched, Completed,
727
640
  Failed
728
641
  TasksPerLoop: '50'
729
- TransType: MCSimulation, DataReconstruction, DataStripping, MCStripping,
730
- Merge
642
+ TransType: MCSimulation, DataReconstruction, DataStripping, MCStripping, Merge
731
643
  UpdateFilesStatus: Active, Completing, Stopped
732
644
  UpdateTasksStatus: Active, Completing, Stopped
733
645
  maxNumberOfThreads: '15'
@@ -787,8 +699,8 @@ Systems:
787
699
  Executors:
788
700
  Optimizers:
789
701
  JobScheduling:
790
- RescheduleDelays: '0'
791
702
  MaxRescheduling: '3'
703
+ RescheduleDelays: '0'
792
704
  FailoverURLs: {}
793
705
  Services:
794
706
  Matcher:
@@ -31,7 +31,12 @@ def test_cs_sync(tmp_path, monkeypatch):
31
31
  assert result.exit_code == 0
32
32
  assert output_file.is_file()
33
33
  actual_output = yaml.safe_load(output_file.read_text())
34
- expected_output = yaml.safe_load((file_path / "integration_test.yaml").read_text())
34
+ expected_output_file = file_path / "integration_test.yaml"
35
+ expected_output = yaml.safe_load(expected_output_file.read_text())
36
+ # If you need to update the expected output, you can do so by running pytest --pdb
37
+ # and then running the following command:
38
+ # expected_output_file.write_text(yaml.dump(actual_output, sort_keys=True))
39
+ # And then carefully(!) review the diff
35
40
  assert actual_output == expected_output
36
41
  Config.model_validate(actual_output)
37
42
 
File without changes
File without changes