def METHOD_NAME(self):
    username, password = 'test@akvo.org', 'password'
    org, _ = self.create_org_user(username, password)
    project = ProjectFixtureBuilder()\
        .with_partner(org, Partnership.IATI_REPORTING_ORGANISATION)\
        .with_disaggregations({
            'Gender': ['Male', 'Female'],
            'Age': ['Children', 'Adults']
        })\
        .with_results([{
            'title': 'Result #1',
            'indicators': [{
                'title': 'Indicator #1',
                'periods': []
            }]
        }]).build()
    indicator = project.indicators[0]
    data = {
        'period_start': '2010-1-1',
        'period_end': '2010-12-31',
        'target_value': 10,
        'indicator': indicator.id,
        'disaggregation_targets': [],
    }
    self.c.login(username=username, password=password)
    response = self.c.post(
        '/rest/v1/indicator_period/', data=json.dumps(data), content_type='application/json'
    )
    self.assertEqual(response.status_code, 201)
    for key, value in data.items():
        self.assertEqual(data[key], value)