Skip to content

Commit

Permalink
test_query_masking
Browse files Browse the repository at this point in the history
  • Loading branch information
feiazifeiazi committed Dec 25, 2024
1 parent 7a023ed commit f66e3a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sql/engines/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,14 @@ def test_create_instance_user(self, _mock_command):
],
)

def test_query_masking(self):
query_result = ResultSet()
new_engine = MongoEngine(instance=self.ins)
masking_result = new_engine.query_masking(
db_name="archery", sql="db.test_collection.find()", resultset=query_result
)
self.assertIsInstance(masking_result, ResultSet)


class TestClickHouse(TestCase):
def setUp(self):
Expand Down

0 comments on commit f66e3a6

Please sign in to comment.