Browse Source

PYADPT-116: Clean up test-suite.

pull/5/head
Hartmut Goebel 5 months ago
parent
commit
f5d83b7454
1 changed files with 5 additions and 8 deletions
  1. +5
    -8
      tests/test_blob.py

+ 5
- 8
tests/test_blob.py View File

@ -4,18 +4,15 @@
"""Blob unit tests."""
import pytest
from . import constants
from . import model
def test_blob_data_constructor(pEp, model):
def test_blob_data_constructor(pEp):
bdata = b'this is binary \x00\x01\xbb\xa7\xa4\xab test data'
b = pEp.Blob(bdata)
assert(b.data == bdata)
assert b.data == bdata
def test_blob_data_property(pEp, model):
def test_blob_data_property(pEp):
bdata = b'this is binary \x00\x01\xbb\xa7\xa4\xab test data'
b = pEp.Blob(b'dummy')
b.data = bdata
assert(b.data == bdata)
assert b.data == bdata

Loading…
Cancel
Save