Created
May 6, 2016 15:48
-
-
Save ntata/82b95dd9325d88623d951e2eec85fbde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SwiftFunctionalTestsPlugin(plugins.TempestPlugin): | |
def load_tests(self): | |
relative_test_dir = 'test/tempest' | |
test_dir = os.path.dirname(os.path.abspath(__file__)) | |
top_level_dir = test_dir[:test_dir.find(relative_test_dir)-1] | |
relative_func_tests_dir = 'test/functional' | |
abs_func_tests_dir = os.path.join( | |
top_level_dir, relative_func_tests_dir) | |
abs_tempest_func_tests_dir = os.path.join(test_dir, "functional") | |
if(os.path.islink(abs_tempest_func_tests_dir)): | |
pass | |
else: | |
os.symlink(abs_func_tests_dir, abs_tempest_func_tests_dir) | |
return test_dir, top_level_dir | |
def register_opts(self, conf): | |
pass | |
def get_opt_lists(self): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment