'This tests that https://github.com/andresriancho/w3af/issues/56 was
properly fixed after the change in how sqlite threads were managed.'

def test_cant_start_new_thread_bug(self):

    (valid, _) = self.core.profiles.get_profile_list('.')
    for _ in xrange(10):
        for profile_inst in valid:
            profile_name = profile_inst.get_name()
            self.core.profiles.use_profile(profile_name, workdir='.')
