Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from brome-hq/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jf-parent committed Oct 10, 2015
2 parents 362a506 + c088ebe commit 61b8efe
Show file tree
Hide file tree
Showing 58 changed files with 42,343 additions and 167 deletions.
2 changes: 1 addition & 1 deletion brome/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! -*- coding: utf-8 -*-

__version__ = "0.5"
__version__ = "0.0.7"

import webbrowser
import shutil
Expand Down
5 changes: 2 additions & 3 deletions brome/core/model/basetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from selenium.webdriver.chrome.options import Options
#from browsermobproxy import Server

#from brome.castro import Castro
from castro import Castro
from brome.core.model.utils import *
from brome.core.model.stateful import Stateful
from brome.core.model.proxy_driver import ProxyDriver
Expand Down Expand Up @@ -98,8 +98,8 @@ def start_video_recording(self):
string_to_filename('%s.flv'%(self._name.replace(' ', '_')))
)

os.environ["CASTRO_DATA_DIR"] = self._video_recording_dir
self._castro = Castro(
data_dir = self._video_recording_dir,
filename = self._video_capture_file_path,
host = node_ip,
port = self._browser_config.get('vnc_port', 5900)
Expand Down Expand Up @@ -266,7 +266,6 @@ def get_state_pickle_path(self):
The project:url config need to be set in order to extract the server name. Each server will have it own state
The test name is used to name the state.
The project:absolute_path config is needed
E.g.: the test named "test 1" that run with the project:url ("http://www.example.com") with have a state named:
tests/states/test_1_example.com.pkl
Expand Down

0 comments on commit 61b8efe

Please sign in to comment.