From fcd2bd677675ee9baf977ea8e1a98dda97e790bb Mon Sep 17 00:00:00 2001 From: am0o0 <77095239+am0o0@users.noreply.github.com> Date: Wed, 29 May 2024 15:37:11 +0200 Subject: [PATCH] fabic.qll: remove test predicate and apply review changes --- python/ql/lib/semmle/python/frameworks/Fabric.qll | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/ql/lib/semmle/python/frameworks/Fabric.qll b/python/ql/lib/semmle/python/frameworks/Fabric.qll index 2ecc9aa7f22..fc249ed9d33 100644 --- a/python/ql/lib/semmle/python/frameworks/Fabric.qll +++ b/python/ql/lib/semmle/python/frameworks/Fabric.qll @@ -113,7 +113,7 @@ module FabricV2 { * library. */ abstract class Instance extends API::Node { - override string toString() { result = "a fabric connection instance" } + override string toString() { result = this.(API::Node).toString() } } /** @@ -188,9 +188,6 @@ module FabricV2 { module Tasks { /** Gets a reference to the `fabric.tasks.task` decorator. */ API::Node task() { result in [tasks().getMember("task"), fabric().getMember("task")] } - - /** Gets a reference to the `fabric.tasks.task` decorator. */ - API::Node test() { result in [tasks().getMember("task"), fabric().getMember("task")] } } class FabricTaskFirstParamConnectionInstance extends Fabric::Connection::ConnectionClass::Instance