mik-laj edited a comment on issue #8505:
URL: https://github.com/apache/airflow/pull/8505#issuecomment-617510026


   @kaxil We don't lose anything because we replace the method in the BaseView 
class with mock, and then mock calls the original method. As a result, we have 
a wrapped(transparent) method. If any class inherits from BaseView, it must use 
super () for mock to be called. Please note that `scheduler_job`  key appears 
in the tests, which is added in another class, i.e. not VersionView.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to