コード例 #1
0
def test_removable_media_serial_number_not_exists_str_gives_correct_json_representation(
):
    _filter = RemovableMediaSerialNumber.not_exists()
    expected = NOT_EXISTS.format("removableMediaSerialNumber")
    assert str(_filter) == expected
コード例 #2
0
def test_exposure_type_not_exists_str_gives_correct_json_representation():
    _filter = ExposureType.not_exists()
    expected = NOT_EXISTS.format("exposure")
    assert str(_filter) == expected
コード例 #3
0
def test_removable_media_partition_id_not_exists_str_gives_correct_json_representation(
):
    _filter = RemovableMediaPartitionID.not_exists()
    expected = NOT_EXISTS.format("removableMediaPartitionId")
    assert str(_filter) == expected
コード例 #4
0
def test_os_hostname_not_exists_str_gives_correct_json_representation():
    _filter = OSHostname.not_exists()
    expected = NOT_EXISTS.format("osHostName")
    assert str(_filter) == expected
コード例 #5
0
def test_removable_media_volume_name_not_exists_str_gives_correct_json_representation(
):
    _filter = RemovableMediaVolumeName.not_exists()
    expected = NOT_EXISTS.format("removableMediaVolumeName")
    assert str(_filter) == expected
コード例 #6
0
def test_destination_name_not_exists_str_gives_correct_json_representation():
    _filter = DestinationName.not_exists()
    expected = NOT_EXISTS.format("destinationName")
    assert str(_filter) == expected
コード例 #7
0
def test_sha256_not_exists_str_gives_correct_json_representation():
    _filter = SHA256.not_exists()
    expected = NOT_EXISTS.format("sha256Checksum")
    assert str(_filter) == expected
コード例 #8
0
ファイル: test_source_filter.py プロジェクト: code42/py42
def test_source_tab_titles_not_exists_str_gives_correct_json_representation():
    _filter = SourceTabTitles.not_exists()
    expected = NOT_EXISTS.format("sourceTabTitles")
    assert str(_filter) == expected
コード例 #9
0
ファイル: test_source_filter.py プロジェクト: code42/py42
def test_source_category_not_exists_str_gives_correct_json_representation():
    _filter = SourceCategory.not_exists()
    expected = NOT_EXISTS.format("sourceCategory")
    assert str(_filter) == expected
コード例 #10
0
def test_shared_with_not_exists_str_gives_correct_json_representation():
    _filter = SharedWith.not_exists()
    expected = NOT_EXISTS.format("sharedWith")
    assert str(_filter) == expected
コード例 #11
0
def test_email_recipients_not_exists_str_gives_correct_json_representation():
    _filter = EmailRecipients.not_exists()
    expected = NOT_EXISTS.format("emailRecipients")
    assert str(_filter) == expected
コード例 #12
0
def test_actor_not_exists_str_gives_correct_json_representation():
    _filter = Actor.not_exists()
    expected = NOT_EXISTS.format("actor")
    assert str(_filter) == expected
コード例 #13
0
def test_sharing_type_added_not_exists_str_gives_correct_json_representation():
    _filter = SharingTypeAdded.not_exists()
    expected = NOT_EXISTS.format("sharingTypeAdded")
    assert str(_filter) == expected
コード例 #14
0
def test_file_owner_not_exists_str_gives_correct_json_representation():
    _filter = FileOwner.not_exists()
    expected = NOT_EXISTS.format("fileOwner")
    assert str(_filter) == expected
コード例 #15
0
def test_tab_url_not_exists_str_gives_correct_json_representation():
    _filter = TabURL.not_exists()
    expected = NOT_EXISTS.format("tabUrls")
    assert str(_filter) == expected
コード例 #16
0
def test_private_ip_not_exists_str_gives_correct_json_representation():
    _filter = PrivateIPAddress.not_exists()
    expected = NOT_EXISTS.format("privateIpAddresses")
    assert str(_filter) == expected
コード例 #17
0
def test_window_title_not_exists_str_gives_correct_json_representation():
    _filter = WindowTitle.not_exists()
    expected = NOT_EXISTS.format("tabTitles")
    assert str(_filter) == expected
コード例 #18
0
def test_public_ip_address_not_exists_str_gives_correct_json_representation():
    _filter = PublicIPAddress.not_exists()
    expected = NOT_EXISTS.format("publicIpAddress")
    assert str(_filter) == expected
コード例 #19
0
def test_process_name_not_exists_str_gives_correct_json_representation():
    _filter = ProcessName.not_exists()
    expected = NOT_EXISTS.format("processName")
    assert str(_filter) == expected
コード例 #20
0
def test_md5_not_exists_str_gives_correct_json_representation():
    _filter = MD5.not_exists()
    expected = NOT_EXISTS.format("md5Checksum")
    assert str(_filter) == expected