def test_return_winter_end(self):
        test_d = {'Date': [datetime(2018, 2, 28, 0)], 'Load': [111]}
        load_data = pd.DataFrame(data=test_d)

        expected_d = {
            'Date': [datetime(2018, 2, 28, 0)],
            'Load': [111],
            'Season': [4]
        }
        expected_load_data = pd.DataFrame(data=expected_d)

        actual_load_data = add_season(load_data)
        assert_frame_equal(expected_load_data, actual_load_data)
    def test_return_autumn_start(self):
        test_d = {'Date': [datetime(2018, 9, 1, 0)], 'Load': [111]}
        load_data = pd.DataFrame(data=test_d)

        expected_d = {
            'Date': [datetime(2018, 9, 1, 0)],
            'Load': [111],
            'Season': [3]
        }
        expected_load_data = pd.DataFrame(data=expected_d)

        actual_load_data = add_season(load_data)

        assert_frame_equal(expected_load_data, actual_load_data)