Skip to content

Commit

Permalink
revert changes to test_sops file
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyliang-gov committed Jan 10, 2025
1 parent 935eae8 commit c772432
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/config/decryptors/test_sops.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ def test_decrypt_parent_source_none(self, sops_mock):

sops_decryptor = SOPS()

# with self.assertRaisesRegex(
# ValueError,
# r"Given config value \(ConfigValue\(.*\)\) parent source \(None\) " \
# r"is expected to be of type dict or str but is of type: <class 'NoneType'>"
# ):
with self.assertRaisesRegex(
ValueError,
r"Given config value \(ConfigValue\(.*\)\) parent source \(None\) " \
r"is expected to be of type dict or str but is of type: <class 'NoneType'>"
):
sops_decryptor.decrypt(config_value)

def test_decrypt_sops_error(self, sops_mock):
Expand Down

0 comments on commit c772432

Please sign in to comment.