Commit 23151244 by Shwetha GS

ATLAS-134 Some defects found when reviewing the source code (ltfxyz via…

ATLAS-134 Some defects found when reviewing the source code (ltfxyz via shwethags) - added missing code part
parent 7660c9b2
...@@ -50,7 +50,7 @@ class TestMetadata(unittest.TestCase): ...@@ -50,7 +50,7 @@ class TestMetadata(unittest.TestCase):
java_mock.assert_called_with( java_mock.assert_called_with(
'org.apache.atlas.Main', 'org.apache.atlas.Main',
['-app', 'metadata_home\\server\\webapp\\atlas'], ['-app', 'metadata_home\\server\\webapp\\atlas'],
'metadata_home\\conf:metadata_home\\server\\webapp\\atlas\\WEB-INF\\classes:metadata_home\\server\\webapp\\atlas\\WEB-INF\\lib\\*:metadata_home\\libext\\*', 'metadata_home\\conf;metadata_home\\server\\webapp\\atlas\\WEB-INF\\classes;metadata_home\\server\\webapp\\atlas\\WEB-INF\\lib\\*;metadata_home\\libext\\*',
['-Datlas.log.dir=metadata_home\\logs', '-Datlas.log.file=application.log', '-Datlas.home=metadata_home', '-Datlas.conf=metadata_home\\conf', '-Xmx1024m', '-XX:MaxPermSize=512m', '-Dlog4j.configuration=atlas-log4j.xml'], 'metadata_home\\logs') ['-Datlas.log.dir=metadata_home\\logs', '-Datlas.log.file=application.log', '-Datlas.home=metadata_home', '-Datlas.conf=metadata_home\\conf', '-Xmx1024m', '-XX:MaxPermSize=512m', '-Dlog4j.configuration=atlas-log4j.xml'], 'metadata_home\\logs')
else: else:
java_mock.assert_called_with( java_mock.assert_called_with(
...@@ -85,4 +85,4 @@ class TestMetadata(unittest.TestCase): ...@@ -85,4 +85,4 @@ class TestMetadata(unittest.TestCase):
if __name__ == "__main__": if __name__ == "__main__":
logging.basicConfig(format='%(asctime)s %(message)s', level=logging.DEBUG) logging.basicConfig(format='%(asctime)s %(message)s', level=logging.DEBUG)
unittest.main() unittest.main()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment