Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
refactor(proto): refactor offset nd
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmyshin committed Aug 27, 2019
1 parent 75fad5d commit 96ececb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_audio_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,8 @@ def test_video_preprocessor_service_realdata(self):
client.send_message(msg)
r = client.recv_message()
for d in r.request.index.docs:
print("len(d.chunks)", len(d.chunks))
self.assertGreater(len(d.chunks), 0)
for _ in range(len(d.chunks)):
shape = blob2array(d.chunks[_].blob).shape
print("shape", blob2array(d.chunks[_].blob).shape)
print("raw_data", d.chunks[_].blob.data)
self.assertEqual(len(shape), 1)
break

0 comments on commit 96ececb

Please sign in to comment.