Bases: congress.tests.base.TestCase
Bases: congress.tests.base.TestCase
Bases: congress.tests.base.TestCase
Tests for Runtime’s delegation functionality.
Bases: congress.tests.base.TestCase
Bases: congress.tests.base.SqlTestCase
Tests for Runtime’s ability to enable/disable rules.
Test deleting policy while there are disabled_events outstanding.
Test that persistent_insert_rule errors on IncompleteSchemaException
When a table schema is not available, named column references are permitted but disabled in non-persistent rule insert to allow for late-arriving schema when importing rules already in DB. This behavior is not necessary in persistent_insert.
Bases: congress.tests.base.TestCase
Test that built_in function works.
Test that dependency graph gets updated correctly.
Test ability to write rules that span multiple policies.
Test ability to write rules that span multiple policies.
Test ability to write rules that span multiple policies.
Test ability to write rules that span multiple policies.
Test multiple rules that span multiple policies.
Test ability to write rules that span multiple policies.
Test ability to write rules that span multiple policies.
Test errors arising from rules in action policies.
Test SELECT with different policy in the head.
Test errors arising from rules in multiple policies.
Test that negation when applied to a different policy works.
Test that same rule insertion can be correctly dealt with.
Test that schema check in multiple policies works.
Bases: congress.tests.base.TestCase
Test ability to write rules that span multiple policies.
Test ability to write rules that span multiple policies.
Ensure dependency graph is properly updated when deleting policy.
Bases: congress.tests.base.TestCase
Tests for Runtime that are not specific to any theory.
Test rule that refer to table from another policy.
Test initialize_tables() functionality of agnostic.
Test ability to create/delete multiple policies.
Test updates that apply to multiple policies.
Test errors for multiple policies.
Test types for multiple policies.
Test ability to create/delete single policies.
Test evaluation routines when one theory includes another.
Bases: congress.tests.base.TestCase
Bases: congress.tests.base.TestCase
Test sequence updates with actions.
Test more complex sequences of updates.
Test when asking for changes in query.
Test when asking for changes in query.
Test when asking for changes in query.
Test action of key/value updates.
Test sequence updates with actions that impact multiple policies.
Test update sequence affecting datasources.
Test update sequence affecting datasources.
Test update sequence affecting datasources.
Test state and rule update sequences.
Bases: congress.tests.base.TestCase
Bases: congress.tests.base.TestCase
Bases: object
A class with methods that have side-effects.
Used for checking if function is invoked with correct args.
Used for counting number of times function invoked.