Skip to content

Instantly share code, notes, and snippets.

@lockwooddev
Created February 17, 2021 11:24
Show Gist options
  • Save lockwooddev/960727740e0d18d8ce30c0830071dc47 to your computer and use it in GitHub Desktop.
Save lockwooddev/960727740e0d18d8ce30c0830071dc47 to your computer and use it in GitHub Desktop.

Revisions

  1. lockwooddev created this gist Feb 17, 2021.
    11 changes: 11 additions & 0 deletions test_with_vault.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    @pytest.mark.django_db
    class TestWithVault:

    def setup_method(self, method):
    recursive_delete_secrets('startpath')

    def teardown_method(self, method):
    recursive_delete_secrets('startpath')

    def test_yourtestcase(self, client):
    ...