Skip to content

Commit

Permalink
patch: template py file validity
Browse files Browse the repository at this point in the history
  • Loading branch information
developStorm committed May 21, 2024
1 parent fd81ca0 commit 9fe41e6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions integration_tests/.template/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
import zcrypto_schemas.zcrypto as zcrypto
import zgrab2

#{MODULE_NAME}_scan_response = SubRecord({
"result": SubRecord({
# TODO FIXME IMPLEMENT SCHEMA
})
}, extends=zgrab2.base_scan_response)
# {MODULE_NAME}_scan_response = SubRecord({
# "result": SubRecord({
# # TODO FIXME IMPLEMENT SCHEMA
# })
# }, extends=zgrab2.base_scan_response)

zschema.registry.register_schema("zgrab2-#{MODULE_NAME}", #{MODULE_NAME}_scan_response)
# zschema.registry.register_schema("zgrab2-#{MODULE_NAME}", #{MODULE_NAME}_scan_response)

zgrab2.register_scan_response_type("#{MODULE_NAME}", #{MODULE_NAME}_scan_response)
# zgrab2.register_scan_response_type("#{MODULE_NAME}", #{MODULE_NAME}_scan_response)

0 comments on commit 9fe41e6

Please sign in to comment.