Login | Register
My pages Projects Community openCollabNet

Discussions > dev > ImportError: no module named CompactTest

maxq
Discussion topic

Back to topic list

ImportError: no module named CompactTest

Author Robert Blackburn <rwblackburn at gmail dot com>
Full name Robert Blackburn <rwblackburn at gmail dot com>
Date 2005-07-14 19:52:00 PDT
Message Hello,
I was trying to test my change which adds a gutter with line numbers
the text area, and I keep getting an error. Its been a little while
since I last ran a MaxQ script, but it used to worked when I did.

I re-downloaded the MaxQ script when I implemented my changes. But I
honestly don't think this error is caused by my change. Maybe someone
else has seen this before (its probably something simple)

*** Error Message ***
Traceback (innermost last):
  File "<string>", line 2, in ?
ImportError: no module named CompactTest

*** Test Script ***
# Generated by MaxQ [com.bitmechanic.max​q.generator.CompactG​enerator]
from CompactTest import CompactTest

class test1(CompactTest):
    # Recorded test actions.
    def runTest(self):
        self.msg('Test started')
        self.get('http://www.google.com/', None, 200)

    # ^^^ Insert new recordings here. (Do not remove this line.)


# Code to load and run the test
if __name__ == 'main':
    test1('test1').Run()

« Previous message in topic | 1 of 5 | Next message in topic »

Messages

Show all messages in topic

ImportError: no module named CompactTest Robert Blackburn <rwblackburn at gmail dot com> Robert Blackburn <rwblackburn at gmail dot com> 2005-07-14 19:52:00 PDT
     Re: [maxq-dev] ImportError: no module named CompactTest oliverbock Oliver Bock 2005-07-14 21:08:30 PDT
         Re: [maxq-dev] ImportError: no module named CompactTest Robert Blackburn <rwblackburn at gmail dot com> Robert Blackburn <rwblackburn at gmail dot com> 2005-07-15 06:30:13 PDT
             Re: [maxq-dev] ImportError: no module named CompactTest Robert Blackburn <rwblackburn at gmail dot com> Robert Blackburn <rwblackburn at gmail dot com> 2005-07-15 06:30:32 PDT
                 Re: [maxq-dev] ImportError: no module named CompactTest oliverbock Oliver Bock 2005-07-17 16:41:57 PDT
Messages per page: