Пример #1
0
 def test_supports_ftd_model_should_return_false_for_non_supported_models(
         self):
     assert not AbstractFtdPlatform.supports_ftd_model(FtdModel.FTD_2120)
     assert not Ftd2100Platform.supports_ftd_model(FtdModel.FTD_ASA5508_X)
     assert not FtdAsa5500xPlatform.supports_ftd_model(FtdModel.FTD_2120)
Пример #2
0
 def test_supports_ftd_model_should_return_true_for_supported_models(self):
     assert Ftd2100Platform.supports_ftd_model(FtdModel.FTD_2120)
     assert FtdAsa5500xPlatform.supports_ftd_model(FtdModel.FTD_ASA5516_X)