def test_delete_file_wrong_org(self):
        url = reverse_lazy("seed:delete_file")
        delete_data = {
            'file_id': self.import_file_2.pk,
            'organization_id': self.org_2.pk,
        }

        # act
        response = self.client.delete(
            url,
            data=json.dumps(delete_data),
            content_type='application/json',
        )
        json_string = response.content
        data = json.loads(json_string)

        # assert
        self.assertEqual(data, {
            'status': 'error',
            'message': 'No relationship to organization'
        })
        self.assertEqual(ImportFile.objects.all().count(), 2)
ensure we can parse a router descriptor which has no w line
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/tests/test_dataset.py/DeleteFileViewTests.test_delete_file_wrong_org--crossover with--dataset/ETHPy150Open meejah/txtorcon/test/test_torstate.py/StateTests.test_routers_no_bandwidth