Skip to content

Commit

Permalink
test: clean up test data
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed May 20, 2024
1 parent b973c30 commit 39bf9ed
Showing 1 changed file with 52 additions and 19 deletions.
71 changes: 52 additions & 19 deletions tests/gvm_sync_targets/models/targets_response_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,19 @@
<allow_simultaneous_ips>1</allow_simultaneous_ips>
</target>
<target id="1a11fc20-b767-4407-82ee-e87fbddbc74a">
<owner><name>admin</name></owner><name>Unnamed</name>
<comment></comment><creation_time>2024-05-15T20:41:23Z</creation_time>
<owner>
<name>admin</name>
</owner>
<name>Unnamed</name>
<comment></comment>
<creation_time>2024-05-15T20:41:23Z</creation_time>
<modification_time>2024-05-15T20:41:23Z</modification_time>
<writable>1</writable><in_use>1</in_use>
<writable>1</writable>
<in_use>1</in_use>
<permissions>
<permission><name>Everything</name></permission>
<permission>
<name>Everything</name>
</permission>
</permissions>
<hosts>1.2.3.4, 1::1</hosts>
<exclude_hosts></exclude_hosts>
Expand Down Expand Up @@ -228,7 +235,11 @@
<reverse_lookup_unify>0</reverse_lookup_unify>
<alive_tests>Scan Config Default</alive_tests>
<allow_simultaneous_ips>1</allow_simultaneous_ips>
<tasks><task id="111"><name>foo</name></task></tasks>
<tasks>
<task id="111">
<name>foo</name>
</task>
</tasks>
</target>
<target id="7a7f3ae0-f95d-4e2a-a523-995f5f690f69">
<owner>
Expand Down Expand Up @@ -261,43 +272,65 @@
<name></name>
<trash>0</trash>
</smb_credential>
<esxi_credential id=""><name></name><trash>0</trash></esxi_credential>
<snmp_credential id=""><name></name><trash>0</trash></snmp_credential>
<esxi_credential id="">
<name></name>
<trash>0</trash>
</esxi_credential>
<snmp_credential id="">
<name></name>
<trash>0</trash>
</snmp_credential>
<ssh_elevate_credential id="">
<name></name><trash>0</trash>
<name></name>
<trash>0</trash>
</ssh_elevate_credential>
<reverse_lookup_only>0</reverse_lookup_only>
<reverse_lookup_unify>0</reverse_lookup_unify>
<alive_tests>Scan Config Default</alive_tests>
<allow_simultaneous_ips>1</allow_simultaneous_ips>
</target>
<target id="1a11fc20-b767-4407-82ee-e87fbddbc74a">
<owner><name>admin</name></owner><name>Unnamed</name>
<comment></comment><creation_time>2024-05-15T20:41:23Z</creation_time>
<owner>
<name>admin</name>
</owner>
<name>Unnamed</name>
<comment></comment>
<creation_time>2024-05-15T20:41:23Z</creation_time>
<modification_time>2024-05-15T20:41:23Z</modification_time>
<writable>1</writable><in_use>1</in_use>
<writable>1</writable>
<in_use>1</in_use>
<permissions>
<permission><name>Everything</name></permission>
<permission>
<name>Everything</name>
</permission>
</permissions>
<hosts>1.2.3.4, 1::1</hosts>
<exclude_hosts></exclude_hosts><max_hosts>41</max_hosts>
<exclude_hosts></exclude_hosts>
<max_hosts>41</max_hosts>
<port_list id="33d0cd82-57c6-11e1-8ed1-406186ea4fc5">
<name>All IANA assigned TCP</name><trash>0</trash>
<name>All IANA assigned TCP</name>
<trash>0</trash>
</port_list>
<ssh_credential id="416d4541-8cb4-4745-ba27-7d509cec9455">
<name>SSH auth</name><port>22</port><trash>0</trash>
<name>SSH auth</name>
<port>22</port>
<trash>0</trash>
</ssh_credential>
<smb_credential id="">
<name></name><trash>0</trash>
<name></name>
<trash>0</trash>
</smb_credential>
<esxi_credential id="">
<name></name><trash>0</trash>
<name></name>
<trash>0</trash>
</esxi_credential>
<snmp_credential id="">
<name></name><trash>0</trash>
<name></name>
<trash>0</trash>
</snmp_credential>
<ssh_elevate_credential id="">
<name></name><trash>0</trash>
<name></name>
<trash>0</trash>
</ssh_elevate_credential>
<reverse_lookup_only>0</reverse_lookup_only>
<reverse_lookup_unify>0</reverse_lookup_unify>
Expand Down

0 comments on commit 39bf9ed

Please sign in to comment.