summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 12:50:57 +0000
committerphoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 12:50:57 +0000
commit7e70fed631016d3e0f4f916137d7e40fb2e61751 (patch)
treeac34bc04139cb06163806185772f817a9da06cc7
parent6a6ee7ac8a1252bf722a00eb34d68703e6136c0b (diff)
downloadchromium_src-7e70fed631016d3e0f4f916137d7e40fb2e61751.zip
chromium_src-7e70fed631016d3e0f4f916137d7e40fb2e61751.tar.gz
chromium_src-7e70fed631016d3e0f4f916137d7e40fb2e61751.tar.bz2
Fixed audio test (assertGreater doesn't exist in the python version the bots are running)
NOTRY=True TBR=dennis_jeffrey@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/12464012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186692 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xchrome/test/functional/webrtc_audio_call.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/test/functional/webrtc_audio_call.py b/chrome/test/functional/webrtc_audio_call.py
index 11bdcde..a9ba7e9 100755
--- a/chrome/test/functional/webrtc_audio_call.py
+++ b/chrome/test/functional/webrtc_audio_call.py
@@ -82,10 +82,10 @@ class WebrtcAudioCallTest(webrtc_test_base.WebrtcTestBase):
self._AudioCallWithGetUserMedia(duration_seconds=5)
def EnsureNotAllSilent(output_no_silence):
- self.assertGreater(os.path.getsize(output_no_silence),
- _SIZE_OF_EMPTY_WAV_FILE_BYTES,
- msg=('The test recorded only silence. Ensure your '
- 'machine is correctly configured for this test.'))
+ self.assertTrue(os.path.getsize(output_no_silence) >
+ _SIZE_OF_EMPTY_WAV_FILE_BYTES,
+ msg=('The test recorded only silence. Ensure your '
+ 'machine is correctly configured for this test.'))
self._RecordAndVerify(record_duration_seconds=10,
sound_producing_function=CallWithMic,