Skip to content

[tests] Add missing sample_config admin tests on master#996

Merged
nemesifier merged 5 commits into
openwisp:masterfrom
asmodehn:add_missing_sample_config_tests_on_master
Apr 10, 2025
Merged

[tests] Add missing sample_config admin tests on master#996
nemesifier merged 5 commits into
openwisp:masterfrom
asmodehn:add_missing_sample_config_tests_on_master

Conversation

@asmodehn
Copy link
Copy Markdown
Member

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Description of Changes

This PR adds tests that seemed to be missing among the sample_config tests

@asmodehn asmodehn changed the title Add missing sample config tests on master [tests] Add missing sample config tests on master Mar 28, 2025
@asmodehn asmodehn marked this pull request as ready for review March 28, 2025 08:33
@asmodehn asmodehn changed the title [tests] Add missing sample config tests on master [tests] Add missing sample_config admin tests on master Apr 4, 2025
@asmodehn
Copy link
Copy Markdown
Member Author

asmodehn commented Apr 4, 2025

Note : This is the same as #995, but on master branch. This one has one more commit, fixing a test.

Copy link
Copy Markdown
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

The test test_device_with_config_change_deactivate_deactivate is failing due to the presence of 1 more readonly field than expected. Hey @pandafy, any idea of why this is happening?

nemesifier
nemesifier previously approved these changes Apr 10, 2025
Copy link
Copy Markdown
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

I pushed a fix, waiting for the build.

@nemesifier nemesifier force-pushed the add_missing_sample_config_tests_on_master branch from 5d9b672 to 4330144 Compare April 10, 2025 21:53
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 98.884%. remained the same
when pulling 4330144 on asmodehn:add_missing_sample_config_tests_on_master
into 5400a27 on openwisp:master.

Copy link
Copy Markdown
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Thanks @asmodehn 👍

@nemesifier nemesifier merged commit ccf380c into openwisp:master Apr 10, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants