def setUp(self):
        if not self.prepared:
            self.group, created = Group.objects.get_or_create(name='test')
            duser, created = DjangoUser.objects.get_or_create(
                username=self.username)
            duser.set_password(self.password)
            duser.save()
            self.user, created = User.objects.get_or_create(user=duser)
            self.user.save()
            perspective, created = Perspective.objects.get_or_create(
                name='default')
            perspective.set_default_user()
            perspective.save()
            ModuleSetting.set('default_perspective', perspective.id)

            self.client = Client()

            self.prepared = True

    ######################################
    # Testing views when user is logged in
    ######################################
``_read_from_yaml_file`` reads ``PluginConfiguration._default_file`` if
dataset/ETHPy150Open treeio/treeio/treeio/news/tests.py/NewsViewsTest.setUp--crossover with--dataset/ETHPy150Open ClusterHQ/powerstrip/powerstrip/test/test_config.py/PluginConfigurationTests.test_read_from_yaml_file_default_file