"""Tests to verify the privileges check works.""" import pytest from gn_libs.privileges import check @pytest.mark.unit_test @pytest.mark.parametrize( "spec,privileges,expected", ()) def test_check(spec, privileges, expected): """ GIVEN: A privileges-check specification, and a tuple of privileges WHEN: A check is performed THEN: Verify that the check returns the expected value """ assert check(spec, privileges) == expected