Skip to content

Comments

test: add unit tests for singleton decorator#98

Open
DasRasyo wants to merge 1 commit intoOpenMind:mainfrom
DasRasyo:DasRasyo-patch-1
Open

test: add unit tests for singleton decorator#98
DasRasyo wants to merge 1 commit intoOpenMind:mainfrom
DasRasyo:DasRasyo-patch-1

Conversation

@DasRasyo
Copy link

Summary

  • Add unit tests for src/om1_utils/singleton/singleton.py which currently has no test coverage
  • 6 test cases covering instance reuse, init argument preservation, class isolation, thread safety, kwargs support, and attribute persistence

Test plan

  • All tests pass with pytest tests/om1_utils/singleton/test_singleton.py -v
  • No impact on existing tests

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.

1 participant