This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uri = "api/v1/product" | |
| user = mozwebqa.credentials['default'] | |
| post_params = { | |
| 'username': user['name'], | |
| 'api_key': user['api_key'], | |
| } | |
| post_data = { | |
| u'name': u'My Test', | |
| u'description': u'My Description', | |
| u'productversions': [ { u'version': u'v1' } ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| COUNTER=0 | |
| while [ $COUNTER -lt 50 ]; do | |
| echo The counter is $COUNTER | |
| cd b2g-distro | |
| ./flash.sh | |
| cd .. | |
| sleep 60 | |
| echo -e "user_pref('marionette.force-local', true);\nuser_pref('ril.debugging.enabled', true);\n" > user.js | |
| adb push user.js /data/local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| COUNTER=0 | |
| while [ $COUNTER -lt 50 ]; do | |
| echo The counter is $COUNTER | |
| adb reboot | |
| sleep 70 | |
| adb forward tcp:2828 tcp:2828 | |
| gaiatest --address=localhost:2828 --testvars=mine/b2g.gaia.json gaiatest/tests/browser/test_browser_cell_data.py | |
| rc=$? | |
| if [[ $rc != 0 ]] ; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./manage.py syncdb | |
| Traceback (most recent call last): | |
| File "./manage.py", line 27, in <module> | |
| manage.main() | |
| File "/Users/bsilverberg/gitRepos/fjord/vendor/src/funfactory/funfactory/manage.py", line 143, in main | |
| execute_manager(current_settings) | |
| File "/Users/bsilverberg/gitRepos/fjord/vendor/lib/python/django/core/management/__init__.py", line 459, in execute_manager | |
| utility.execute() | |
| File "/Users/bsilverberg/gitRepos/fjord/vendor/lib/python/django/core/management/__init__.py", line 382, in execute | |
| self.fetch_command(subcommand).run_from_argv(self.argv) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Validating models... | |
| 0 errors found | |
| Django version 1.4.5, using settings 'fjord.settings' | |
| Development server is running at http://127.0.0.1:8000/ | |
| Quit the server with CONTROL-C. | |
| [02/Apr/2013 14:02:07] "GET / HTTP/1.1" 301 0 | |
| [02/Apr/2013 14:02:07] "GET /en-US/ HTTP/1.1" 301 0 | |
| [02/Apr/2013 14:02:07] "GET /en-US/en-US/ HTTP/1.1" 301 0 | |
| [02/Apr/2013 14:02:07] "GET /en-US/en-US/en-US/ HTTP/1.1" 301 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is an example settings/local.py file. | |
| # These settings overrides what's in settings/base.py | |
| from . import base | |
| # To extend any settings from settings/base.py here's an example: | |
| #INSTALLED_APPS = base.INSTALLED_APPS + ['debug_toolbar'] | |
| DATABASES = { | |
| 'default': { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is an example settings/local.py file. | |
| # These settings overrides what's in settings/base.py | |
| from . import base | |
| # To extend any settings from settings/base.py here's an example: | |
| #INSTALLED_APPS = base.INSTALLED_APPS + ['debug_toolbar'] | |
| DATABASES = { | |
| 'default': { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 02/Apr/2013 20:15:17] "GET /en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/en-US/en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/en-US/en-US/en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/en-US/en-US/en-US/en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/en-US/en-US/en-US/en-US/en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/en-US/en-US/en-US/en-US/en-US/en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/en-US/en-US/en-US/en-US/en-US/en-US/en-US/about HTTP/1.1" 301 0 | |
| [02/Apr/2013 20:15:17] "GET /en-US/en-US/en-US/en-US/en-US/en-US/en-US/en-US/en-US/en-US/about HTTP/1.1" 301 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [DEFAULT] | |
| # Test requires B2G | |
| b2g = true | |
| # Test requires antenna (headphones) | |
| antenna = false | |
| # Test requires bluetooth | |
| bluetooth = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # This Source Code Form is subject to the terms of the Mozilla Public | |
| # License, v. 2.0. If a copy of the MPL was not distributed with this | |
| # file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
| import pytest | |
| from unittestzero import Assert |