'This makes sure that paywalled courses also honor the registration
window'

def test_closed_enrollment(self):

    self.setup_user()
    url = reverse('about_course', args=[self.closed_course.id.to_deprecated_string()])
    resp = self.client.get(url)
    self.assertEqual(resp.status_code, 200)
    self.assertIn('Enrollment    is    Closed', resp.content)
    self.assertNotIn('Add    closed    to    Cart    <span>($10    USD)</span>', resp.content)
    self.assertIn('<span    class="important-dates-item-text">$10</span>', resp.content)
