def METHOD_NAME(self):
    """Test that creating a credit trade creates a history of length 1"""
    fs1user = self.users['fs_user_1']
    fs2user = self.users['fs_user_2']
    payload = {
        'fairMarketValuePerCredit': 1000,
        'initiator': fs1user.organization.id,
        'numberOfCredits': 100,
        'respondent': fs2user.organization.id,
        'status': self.statuses['recorded'].id,
        'dateOfWrittenAgreement': datetime.datetime.today().strftime('%Y-%m-%d'),
        'tradeEffectiveDate': datetime.datetime.today().strftime(
            '%Y-%m-%d'),
        'type': self.credit_trade_types['buy'].id,
        'is_rescinded': False,
        'zeroReason': None
    }
    response = self.clients['gov_director'].post(
        '/api/credit_trades',
        content_type='application/json',
        data=json.dumps(payload))
    self.assertEqual(response.status_code, status.HTTP_201_CREATED)
    ct_id = response.data['id']
    history = CreditTradeHistory.objects.filter(credit_trade__id=ct_id)
    self.assertEqual(len(history), 1)