Commits

Frederic De Groef committed dea64f4

os.exists -> os.path.exists

Comments (0)

Files changed (1)

csxj/datasources/helpers/unittest_generator.py

 
         full_index_name =os.path.join(root_path, "index.json")
         index = dict(test_data=[])
-        if os.exists(full_index_name):
+        if os.path.exists(full_index_name):
             with open(full_index_name) as f:
                 old_index = json.load(f)
                 index.update(old_index)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.