fix(tests): update getasn integration test inputs and expected outputs (#1084)
Some checks are pending
release-please / release-please (push) Waiting to run
Tests / lint (3.11) (push) Waiting to run
Tests / unit (3.11) (push) Waiting to run
Tests / unit (3.8) (push) Waiting to run
Tests / integration (ubuntu-latest, 3.11) (push) Waiting to run
Tests / template (ubuntu-latest, 3.11) (push) Waiting to run
Tests / coverage (3.11) (push) Blocked by required conditions

Change getasn input from `wikipedia.org` to `tesla` and update expected
ASN tag from AS14907/wikipedia.org to AS51602/tesla due to new blockages
on bgp.he.net.

Closes #1083

Generated with [Claude Code](https://claude.ai/code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Tests**
  * Updated test fixtures and expected outputs for integration tests.

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/freelabz/secator/pull/1084)

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Olivier Cervello <ocervell@users.noreply.github.com>
This commit is contained in:
Olivier Cervello 2026-05-12 14:06:00 +02:00 committed by GitHub
parent 9d2ccf5546
commit df01409ebe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ INPUTS_TASKS = {
USERNAME: 'ocervell',
IP: '127.0.0.1',
CIDR_RANGE: '192.168.1.0/24',
'getasn': 'wikipedia.org',
'getasn': 'tesla',
'arjun': 'https://xss-game.appspot.com/level1/frame',
'bbot': False, # disable bbot test
'bup': 'http://localhost:3000/ftp/coupons_2013.md.bak',

View file

@ -175,7 +175,7 @@ OUTPUTS_TASKS = {
Url(url='http://xss-game.appspot.com/feedback/level1/file/level.py', _source='gau')
],
'getasn': [
Tag(name='asn', category='info', value='AS14907', match='wikipedia.org', _source='getasn')
Tag(name='asn', category='info', value='AS51602', match='tesla', _source='getasn')
],
'gf': [
Tag(name='xss', category='url_pattern', value='http://localhost:3000?q=test', match='http://localhost:3000?q=test', _source='gf')