create table that excludes enrollments from FBE

This commit is contained in:
Matthew Piatetsky
2019-10-29 11:29:03 -04:00
parent 5bf2a25842
commit c2774083ea
14 changed files with 84 additions and 40 deletions

View File

@@ -84,9 +84,9 @@ class TestCourseDurationLimitConfig(CacheIsolationTestCase):
user = self.user
course_key = self.course_overview.id
query_count = 7
if pass_enrollment and already_enrolled:
query_count = 6
query_count = 8
if pass_enrollment and already_enrolled or not pass_enrollment and not already_enrolled:
query_count = 7
with self.assertNumQueries(query_count):
enabled = CourseDurationLimitConfig.enabled_for_enrollment(