~zeitgeist/zeitgeist/cleanup

« back to all changes in this revision

Viewing changes to test/datamodel-test.py

  • Committer: Siegfried-Angel Gevatter Pujals
  • Date: 2009-07-11 23:20:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1018.
  • Revision ID: rainct@ubuntu.com-20090711232037-hed743pyaqn07uj1
Separate source into a public and a private module.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
 
3
3
# Update python path to use local zeitgeist module
4
 
import sys, os
5
 
from os.path import dirname, join, abspath
6
 
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__) + "/.."))
 
4
import sys
 
5
import os
 
6
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
7
7
 
8
8
from zeitgeist.datamodel import *
9
9