When I called Trainer.test, some hooks fit are also called
🐛 Bug
When I called Trainer.test, some hooks fit are also called, which including: on_fit_start, on_fit_end, and teardown(stage=fit)
I found a similar issue of setup(stage=fit), that bug has been fixed, but seems these hooks also have this bug
#2715 (comment)
Please reproduce using the BoringModel
https://colab.research.google.com/drive/1GA2Uo8cBaziqoBUI5K2r5x5BjjaZQRJe?usp=sharing
Expected behavior
during trainer.test, on_fit_start, on_fit_end, teardown(stage=fit) should not be called
（also could you please check if other hooks have this bug?)
Environment

CUDA:

GPU:

Tesla T4


available:         True
version:           10.1


Packages:

numpy:             1.19.5
pyTorch_debug:     False
pyTorch_version:   1.7.1+cu101
pytorch-lightning: 1.2.2
tqdm:              4.41.1


System:

OS:                Linux
architecture:

64bit



processor:         x86_64
python:            3.7.10
version:           #1 SMP Thu Jul 23 08:00:38 PDT 2020



Additional context