def test_validation(self):
        self.clear_db()
        self.register_and_login('barney', 'abc')
        rv = self.add_post(title='', markup='a', tags='b')
        assert 'You must provide a title' in rv.data
        rv = self.update_post(title='a', markup='', tags='', slug='999x00')
        assert 'Invalid slug' in rv.data
        rv = self.add_post(title='a', markup='', tags='')
        assert 'New post was successfully posted' in rv.data
Validate deleted tenant's VMs were migrated.
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/TestPost.test_validation--crossover with--dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry_devlab/cloudferry_devlab/tests/testcases/test_verify_dst_del_tenant_resources.py/VerifyDstDeletedTenantResources.test_tenant_vm_exists_on_dst