Skip to content

Comments

Tests for Config & Job Creation + XML Processing#1225

Merged
bishwaspraveen merged 30 commits intodevfrom
1190-add-tests-for-job-generation-pipeline
Feb 28, 2025
Merged

Tests for Config & Job Creation + XML Processing#1225
bishwaspraveen merged 30 commits intodevfrom
1190-add-tests-for-job-generation-pipeline

Conversation

@saifrk
Copy link
Collaborator

@saifrk saifrk commented Feb 13, 2025

Fixes Issue #1190 and #3036

dhanur-sharma and others added 19 commits October 15, 2024 13:50
…xers' of https://github.com/NASA-IMPACT/COSMOS into 1052-update-cosmos-to-create-jobs-for-scrapers-and-indexers
…-update-cosmos-to-create-jobs-for-scrapers-and-indexers
…-update-cosmos-to-create-jobs-for-scrapers-and-indexers
@saifrk saifrk linked an issue Feb 13, 2025 that may be closed by this pull request
def test_add_complex_element_structure():
xml_string = "<root></root>"
editor = XmlEditor(xml_string)
editor.update_or_add_element_value("parent/child", "Nested")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have a test for checking a third level of hierarchy for this method? The test would be needed, and we could see how to go about updating the method to accommodate the same, if required.

Copy link
Contributor

@bishwaspraveen bishwaspraveen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bishwaspraveen bishwaspraveen merged commit 2420983 into dev Feb 28, 2025
6 checks passed
@bishwaspraveen bishwaspraveen deleted the 1190-add-tests-for-job-generation-pipeline branch February 28, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for Job Generation pipeline

3 participants