def test_bar_chart_transform():
    with patch.object(GeckoboardService, '_transform', return_value=None) as mock_transform:
        gecko_job_bar_chart = GeckoboardService(resp_ex.FULL_GROUP_RESP,
                                                req_ex.SERVICE_API_KEY,
                                                conf_ex.GECKO_BAR_CHART_CONFIG)
        gecko_job_bar_chart._transform()
        assert mock_transform.called
def test_number_stat_transform():
    with patch.object(GeckoboardService, '_transform', return_value=None) as mock_transform:
        gecko_job_number_stat = GeckoboardService(resp_ex.FULL_TIMESERIES_RESP,
                                                  req_ex.SERVICE_API_KEY,
                                                  conf_ex.GECKO_NUMBER_STAT_CONFIG)
        gecko_job_number_stat._transform()
        assert mock_transform.called
def test_bar_chart_transform():
    with patch.object(GeckoboardService, '_transform',
                      return_value=None) as mock_transform:
        gecko_job_bar_chart = GeckoboardService(resp_ex.FULL_GROUP_RESP,
                                                req_ex.SERVICE_API_KEY,
                                                conf_ex.GECKO_BAR_CHART_CONFIG)
        gecko_job_bar_chart._transform()
        assert mock_transform.called
def test_number_stat_transform():
    with patch.object(GeckoboardService, '_transform',
                      return_value=None) as mock_transform:
        gecko_job_number_stat = GeckoboardService(
            resp_ex.FULL_TIMESERIES_RESP, req_ex.SERVICE_API_KEY,
            conf_ex.GECKO_NUMBER_STAT_CONFIG)
        gecko_job_number_stat._transform()
        assert mock_transform.called