Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create unittests for switchmap/dashboard/table/device.py #204

Open
palisadoes opened this issue Jan 2, 2025 · 1 comment
Open

Create unittests for switchmap/dashboard/table/device.py #204

palisadoes opened this issue Jan 2, 2025 · 1 comment

Comments

@palisadoes
Copy link
Contributor

We will need unittests done for all methods, classes and functions found in this file.

PR Acceptance Criteria

  1. When complete this file must show 100% coverage when merged into the code base.
  2. The current code coverage for the file can be found here
  3. CodeRabbit must approve all your changes to the test file(s) and the file(s) under test
  4. The PR will show a report for the code coverage for the file you have added. You can use that as a guide
  5. No functionality must be removed to achieve this goal
  6. All tests must be valid and truly test the code base
  7. The tests must be placed in the equivalent folder under tests/switchmap_ therefore:
    1. a file named switchmap/x/y/z/file.py must have a test file named tests/switchmap_/x/y/z/test_file.py
    2. file tests/switchmap_/x/y/z/test_file.py must have 755 permissions so it can be easily executable
    3. take guidance on the formatting of the file from other tests/switchmap_/x/y/z/test_*.py files or others along the path or in adjacent directories

Other Criteria

  1. If this file isn't referenced in the code base then remove it. We don't want tests run on unused code

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants