Skip to content

Commit

Permalink
test: using correct assertion for test case
Browse files Browse the repository at this point in the history
  • Loading branch information
MueezKhan246 committed Apr 29, 2024
1 parent 7669604 commit f02ab9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def test_global_config_get(self, mock_current_request):
assert not data.get('results')[0].get('app_secret')

self.assertTrue(hasattr(self.global_config, 'decrypted_app_secret'))
self.assertTrue(self.global_config.encrypted_app_secret is not None)
self.assertIsNotNone(self.global_config.encrypted_app_secret)
self.global_config.decrypted_app_secret = ''
self.global_config.save()
self.assertTrue(hasattr(self.global_config, 'decrypted_app_secret'))
Expand Down

0 comments on commit f02ab9a

Please sign in to comment.