Opened 17 years ago

Closed 17 years ago

#124 closed defect (fixed)

swallow_water.util.get_version_info doesn't work in Linux

Reported by: nick Owned by: ole
Priority: low Milestone:
Component: Functionality and features Version: 1.0
Severity: minor Keywords:
Cc:

Description

I have put an "if" statement to stop the error msg when running the tests on Linux

def test_get_version_info(self):

if sys.platform == 'win32':

info = get_version_info() assert info.startswith('Revision')

this should be fixed in the future

Change History (3)

comment:1 Changed 17 years ago by ole

  • Resolution set to worksforme
  • Status changed from new to closed

I have removed this again (changeset:4157) as the problem is not Linux per se, rather possibly something todo with a particular platform or user profile. Could someone please provide info about where the test failed?

comment:2 Changed 17 years ago by ole

  • Resolution worksforme deleted
  • Status changed from closed to reopened

The underlying problem was that svn was aliased on cyclone. It must be on the system path for this command to work.

comment:3 Changed 17 years ago by ole

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.