| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Mostly LG but a few changes are "needed"
Sorry, something went wrong.
| TEST_MODULES = { | ||
| 'datastore': datastore, | ||
| 'speech': speech, | ||
| 'vision': vision, |
| CLIENT = None | ||
| TEST_BUCKET = None | ||
|
|
||
| LOGO_FILE = os.path.join(os.path.dirname(__file__), 'data', 'logo.png') |
| bucket_retry(Config.TEST_BUCKET.delete)(force=True) | ||
|
|
||
|
|
||
| class TestSpeechClient(unittest.TestCase): |
| value.delete() | ||
|
|
||
| def _assert_logo(self, logo): | ||
| self.assertEqual(logo.description, 'Google') |
|
I added the filename test as well. system-tests runtests: commands[1] | python /Users/daspecster/Documents/google/google-cloud-python/system_tests/attempt_system_tests.py vision
test_detect_logos_content (vision.TestVisionClient) ... ok
test_detect_logos_filename (vision.TestVisionClient) ... ok
test_detect_logos_gcs (vision.TestVisionClient) ... ok
----------------------------------------------------------------------
Ran 3 tests in 5.540s
OK
____________________________________________________ summary _____________________________________________________
system-tests: commands succeeded
congratulations :) |
Sorry, something went wrong.
|
Squashed! And cancelled travis #SaveCycles. |
Sorry, something went wrong.
…tests Add system test for Vision Logo detection.
| Back | FazBrowse Home | New Git URL |
Towards: #2753 and #2526.
I will add the filename test after #2778 is merged.
To get this kicked off though, here are some system tests for detect_logo().