import sys

def teardown():
    import shutil
    shutil.rmtree('./cache', True)

def test_consistent_namespacing():
   sys.path.append('/Users/brianfrantz/Source/beaker/tests')
   from tests.test_namespacing_files.namespace_go import go
   go()


@@ -1,16 +1,26 @@
+import os%0A
 import sys%0A%0Adef 
@@ -15,16 +15,17 @@
 rt sys%0A%0A
+%0A
 def tear
@@ -86,16 +86,17 @@
  True)%0A%0A
+%0A
 def test
@@ -125,16 +125,17 @@
 g():%0A   
+ 
 sys.path
@@ -146,50 +146,36 @@
 end(
-'/Users/brianfrantz/Source/beaker/tests'
+os.path.dirname(__file__)
 )%0A
+ 
    f
@@ -237,10 +237,10 @@
 %0A   
+ 
 go()%0A
-%0A

Fix test for namespacing