def setUp(self):
        self.group, _ = Group.objects.get_or_create(name='Hydroshare Author')
        self.user = hydroshare.create_account(
                'scrawley@byu.edu',
                username='scrawley',
                first_name='Shawn',
                last_name='Crawley',
                superuser=False,
                groups=[self.group]
        )
        self.allowance = 0.00001

        self.resScript = hydroshare.create_resource(
                resource_type='ScriptResource',
                owner=self.user,
                title='Test R Script Resource',
                keywords=['kw1', 'kw2']
        )