Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
.org/releases/seabird_sbe37smb_ooicore-0.1.0-py2.7.egg per recent update in
MI  (this should probably be defined in a single common place like pyon.yml)
  • Loading branch information
carueda committed Mar 27, 2013
1 parent f3995f5 commit 695175a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ion/agents/platform/test/base_test_platform_agent_with_rsn.py
Expand Up @@ -152,6 +152,10 @@
}
}

# The value should probably be defined in pyon.yml or some common place so
# clients don't have to do updates upon new versions of the egg.
SBE37_EGG = "http://sddevrepo.oceanobservatories.org/releases/seabird_sbe37smb_ooicore-0.1.0-py2.7.egg"


class FakeProcess(LocalContextMixin):
"""
Expand Down Expand Up @@ -654,7 +658,7 @@ def _set_up_pre_environment_for_instrument(self, instr_info):
from ion.agents.instrument.driver_process import ZMQEggDriverProcess

# A seabird driver.
DRV_URI = 'http://sddevrepo.oceanobservatories.org/releases/seabird_sbe37smb_ooicore-0.0.7-py2.7.egg'
DRV_URI = SBE37_EGG
DRV_MOD = 'mi.instrument.seabird.sbe37smb.ooicore.driver'
DRV_CLS = 'SBE37Driver'

Expand Down Expand Up @@ -726,7 +730,7 @@ def _make_instrument_agent_structure(self, instr_key, org_obj, agent_config=None
instrument_agent_obj = IonObject(RT.InstrumentAgent,
name='agent007_%s' % instr_key,
description="SBE37IMAgent_%s" % instr_key,
driver_uri="http://sddevrepo.oceanobservatories.org/releases/seabird_sbe37smb_ooicore-0.0.1a-py2.7.egg",
driver_uri=SBE37_EGG,
stream_configurations=self._get_instrument_stream_configs())

instrument_agent_id = self.IMS.create_instrument_agent(instrument_agent_obj)
Expand Down

0 comments on commit 695175a

Please sign in to comment.