[GME-commit]
GMESRC/Tests/Regression/MgaUtil gmeEventLoggerTest.py,NONE,1.1
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Thu Jul 1 15:00:26 CDT 2004
Update of /var/lib/gme/GMESRC/Tests/Regression/MgaUtil
In directory braindrain:/tmp/cvs-serv29201/Tests/Regression/MgaUtil
Added Files:
gmeEventLoggerTest.py
Log Message:
Adding Regression directory to Tests, with some simple tests for Don to run with his GME autobuilds
CVS User: brianw
--- NEW FILE: gmeEventLoggerTest.py ---
#!/usr/bin/python
# Copyright (c) 2004 ISIS, Vanderbilt Univeristy
#
# Author: Brian Williams
#
# command line arg: 1. userid this script will run under (e.g. "BrianW.ISIS")
import os
import sys
import win32com.client
import pythoncom
#try:
EventLogger = win32com.client.DispatchEx("Mga.MgaEventLogger")
EventLogger.StartLogging()
EventLogger.LogEvent("Python Test Script")
EventLogger.StopLogging()
EventLogger.StartLogging()
EventLogger.EmergencyEvent()
chdir("C:/Documents and Settings/"+sys.argv[1]+"Application Data/GME")
#except:
# exit(1)
More information about the GME-commit
mailing list