Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/q/u/qualitio-HEAD/qualitio/store/views.py   qualitio(Download)
        testcase_directory_form = TestCaseDirectoryForm(request.POST)
 
    if testcase_directory_form.is_valid():
        testcase_directory = testcase_directory_form.save()
 

src/q/u/qualitio-HEAD/qualitio/store/tests.py   qualitio(Download)
    def test_directory_name_and_parent_should_be_unique_form(self):
        form = TestCaseDirectoryForm(self.data_that_should_cause_an_error())
 
        assert_true(form.is_bound)
        assert_false(form.is_valid())