Skip to content

Commit

Permalink
Merge pull request saltstack#53489 from jhmcstanton/test-doc-fix
Browse files Browse the repository at this point in the history
Cleared up sentence in unit test docs
  • Loading branch information
Akm0d authored Jun 14, 2019
2 parents b0d1a5c + bada5a1 commit 27cd1fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/topics/development/tests/unit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ Salt loader modules use a series of globally available dunder variables,
``__salt__``, ``__opts__``, ``__pillar__``, etc. To facilitate testing these
modules a mixin class was created, ``LoaderModuleMockMixin`` which can be found
in ``tests/support/mixins.py``. The reason for the existence of this class is
because historiclly and because it was easier, one would add these dunder
variables directly on the imported module. This however, introduces unexpected
because historically one would add these dunder
variables directly on the imported module. This, however, introduces unexpected
behavior when running the full test suite since those attributes would not be
removed once we were done testing the module and would therefore leak to other
modules being tested with unpredictable results. This is the kind of work that
Expand Down

0 comments on commit 27cd1fd

Please sign in to comment.