Ticket #264: yamlfails.py

File yamlfails.py, 44.8 KB (added by vinay_sajip@…, 22 months ago)

Script which shows failures

Line 
1import json
2import os
3import tempfile
4import yaml
5
6class CustomDumper(yaml.Dumper):
7    def process_scalar(self):
8        # Long data gets written in literal style.
9        if len(self.event.value) > 74:
10            self.style = '|'
11        super(CustomDumper, self).process_scalar()
12
13DATA = {
14    '1st': '''{"custom-commands": ["install_data"], "source": {"include": ["arges/*.py", "arges/argestools/*.py", "arges/argestools/api/*.py", "arges/argestools/argesfiles/*.py", "arges/argestools/runner/*.py", "arges/thirdparty/*.py", "arges/thirdparty/selenium/*.py", "arges/util/*.py", "bin/arges"], "packages": ["arges", "arges.argestools", "arges.argestools.api", "arges.argestools.argesfiles", "arges.argestools.runner", "arges.thirdparty", "arges.thirdparty.selenium", "arges.util"]}, "version": 1, "scripts": ["bin/arges"], "data-files": {"arges/data/thirdparty/selenium-server-1.0.1": ["arges/data/thirdparty/selenium-server-1.0.1/selenium-server.jar", "arges/data/thirdparty/selenium-server-1.0.1/runSeleniumServer.sh", "arges/data/thirdparty/selenium-server-1.0.1/runSeleniumServer.bat"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ant": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ant/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ant/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ant/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ant/SeleneseAntTask.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ant/package-frame.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/testgenerator/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/testgenerator/class-use/XlateHtmlSeleneseToJava.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/BrowserLauncherFactory.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/FirefoxLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/BrowserInstallationCache.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/FirefoxCustomProfileLauncher.FileLockRemainedException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/GoogleChromeLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/WindowsProxyManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/FirefoxChromeLauncher.FileLockRemainedException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/SafariLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/InternetExplorerLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/BrowserStringParser.Result.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/BrowserInstallation.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/UnixUtils.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/SafariCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/FirefoxChromeLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/OperaCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/WindowsUtils.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/ProxyInjectionSafariCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/BrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/InternetExplorerCustomProxyLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/ResourceExtractor.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/InvalidBrowserExecutableException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/SafariFileBasedLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/AsyncExecute.ProcessStillAliveException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/AbstractBrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/DestroyableRuntimeExecutingBrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/HTABrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/LauncherUtils.ProxySetting.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/CommandQueueAware.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/FirefoxChromeLauncher.ChromeUrlConvert.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/SystemUtils.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/Firefox2Launcher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/FirefoxCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/AsyncExecute.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/KonquerorLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/LauncherUtils.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/ProxyInjectionFirefoxCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/Firefox3Launcher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/package-frame.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/BrowserStringParser.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/MockBrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/MacProxyManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/ProxyInjectionInternetExplorerCustomProxyLauncher.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/cli/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/cli/class-use/RemoteControlLauncher.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/SeleniumCoreCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/CaptureNetworkTrafficCommand.Header.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/AddCustomRequestHeaderCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/Command.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/CaptureScreenshotCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/RetrieveLastRemoteControlLogsCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/CaptureNetworkTrafficCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/CaptureNetworkTrafficCommand.Entry.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/CaptureEntirePageScreenshotToStringCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/class-use/CaptureScreenshotToStringCommand.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/testgenerator": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/testgenerator/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/testgenerator/XlateHtmlSeleneseToJava.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/testgenerator/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/testgenerator/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/testgenerator/package-frame.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/SeleniumHTMLRunnerResultsHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/HTMLLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/HTMLSuiteResult.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/HTMLResultsListener.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/SingleTestSuiteResourceHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/HTMLTestResults.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/package-frame.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/overview-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/overview-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/index.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/index-all.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/allclasses-frame.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/stylesheet.css", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/overview-frame.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/constant-values.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/help-doc.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/allclasses-noframe.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/serialized-form.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/deprecated-list.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/BrowserLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/InternetExplorerLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/Firefox2Locator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/Firefox2or3Locator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/GoogleChromeLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/SafariLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/Firefox3Locator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/FirefoxLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/class-use/SingleBrowserLocator.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ClassPathResource.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/BrowserResponseSequencer.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/IOHelper.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/InjectionHelper.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/SpecialCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ModifiedIO.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/SeleniumDriverResourceHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/TrustEverythingSSLTrustManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/FrameGroupCommandQueueSet.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/BrowserConfigurationOptions.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/CommandQueue.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/RemoteCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/SingleEntryAsyncQueue.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/SeleniumServer.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/SeleniumCommandTimedOutException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/FutureFileResource.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/BrowserSessionFactory.CleanupTask.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/CachedContentTestHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/RobotRetriever.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ProxyHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ClasspathResourceLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/RemoteCommandException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/FrameAddress.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/DefaultRemoteCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/CommandResultHolder.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/BrowserSessionFactory.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/BrowserSessionFactory.BrowserSessionInfo.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/WindowClosedException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/RemoteControlConfiguration.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/HtmlIdentifier.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/CommandHolder.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/StaticContentHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ApplicationRegistry.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/package-frame.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/FsResourceLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ResourceLocator.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/class-use/SeleniumHTMLRunnerResultsHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/class-use/HTMLLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/class-use/HTMLSuiteResult.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/class-use/HTMLResultsListener.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/class-use/SingleTestSuiteResourceHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/htmlrunner/class-use/HTMLTestResults.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/KeyStoreManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/ThumbprintUtil.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/CertificateCreator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/package-frame.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/class-use/KeyStoreManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/class-use/ThumbprintUtil.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/cybervillains/ca/class-use/CertificateCreator.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/META-INF": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/META-INF/MANIFEST.MF"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/AntJettyLoggerBuildListener.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/ShortTermMemoryHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/MaxLevelFilter.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/TerseFormatter.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/StdOutHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/LoggingManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/package-frame.html"], "arges/data/dummy_test_dir/dummy_app/tsuite": ["arges/data/dummy_test_dir/dummy_app/tsuite/hello_world.tdata", "arges/data/dummy_test_dir/dummy_app/tsuite/hello_world.tsuite", "arges/data/dummy_test_dir/dummy_app/tsuite/goodbye.tdata", "arges/data/dummy_test_dir/dummy_app/tsuite/goodbye.tsuite"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ant/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/ant/class-use/SeleneseAntTask.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/cli": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/cli/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/cli/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/cli/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/cli/RemoteControlLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/cli/package-frame.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/BrowserLauncherFactory.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/FirefoxLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/BrowserInstallationCache.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/FirefoxCustomProfileLauncher.FileLockRemainedException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/GoogleChromeLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/WindowsProxyManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/FirefoxChromeLauncher.FileLockRemainedException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/SafariLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/InternetExplorerLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/BrowserStringParser.Result.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/BrowserInstallation.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/UnixUtils.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/SafariCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/FirefoxChromeLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/OperaCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/WindowsUtils.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/ProxyInjectionSafariCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/BrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/InternetExplorerCustomProxyLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/ResourceExtractor.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/InvalidBrowserExecutableException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/SafariFileBasedLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/AsyncExecute.ProcessStillAliveException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/AbstractBrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/DestroyableRuntimeExecutingBrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/HTABrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/LauncherUtils.ProxySetting.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/CommandQueueAware.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/FirefoxChromeLauncher.ChromeUrlConvert.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/SystemUtils.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/Firefox2Launcher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/FirefoxCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/AsyncExecute.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/KonquerorLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/LauncherUtils.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/ProxyInjectionFirefoxCustomProfileLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/Firefox3Launcher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/BrowserStringParser.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/MockBrowserLauncher.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/MacProxyManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/class-use/ProxyInjectionInternetExplorerCustomProxyLauncher.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/BrowserLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/InternetExplorerLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/Firefox2Locator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/Firefox2or3Locator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/GoogleChromeLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/SafariLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/Firefox3Locator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/FirefoxLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/SingleBrowserLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/browserlaunchers/locators/package-frame.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/SeleniumCoreCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/CaptureNetworkTrafficCommand.Header.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/AddCustomRequestHeaderCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/Command.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/CaptureScreenshotCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/RetrieveLastRemoteControlLogsCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/package-use.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/CaptureNetworkTrafficCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/package-tree.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/package-summary.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/CaptureNetworkTrafficCommand.Entry.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/CaptureEntirePageScreenshotToStringCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/CaptureScreenshotToStringCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/commands/package-frame.html"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/resources": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/resources/inherit.gif"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/class-use/AntJettyLoggerBuildListener.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/class-use/ShortTermMemoryHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/class-use/MaxLevelFilter.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/class-use/TerseFormatter.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/class-use/StdOutHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/log/class-use/LoggingManager.html"], "arges/data/dummy_test_dir/dummy_app/tcase": ["arges/data/dummy_test_dir/dummy_app/tcase/hello_world.tdata", "arges/data/dummy_test_dir/dummy_app/tcase/goodbye_cruel_world.tdata", "arges/data/dummy_test_dir/dummy_app/tcase/goodbye_cruel_world.tcase", "arges/data/dummy_test_dir/dummy_app/tcase/hello_world.tcase"], "arges/data/thirdparty/selenium-server-1.0.1/sslSupport": ["arges/data/thirdparty/selenium-server-1.0.1/sslSupport/cybervillainsCA.cer"], "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use": ["arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/ClassPathResource.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/BrowserResponseSequencer.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/IOHelper.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/InjectionHelper.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/SpecialCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/ModifiedIO.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/SeleniumDriverResourceHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/TrustEverythingSSLTrustManager.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/FrameGroupCommandQueueSet.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/BrowserConfigurationOptions.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/CommandQueue.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/RemoteCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/SingleEntryAsyncQueue.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/SeleniumServer.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/SeleniumCommandTimedOutException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/FutureFileResource.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/BrowserSessionFactory.CleanupTask.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/CachedContentTestHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/RobotRetriever.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/ProxyHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/ClasspathResourceLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/RemoteCommandException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/FrameAddress.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/DefaultRemoteCommand.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/CommandResultHolder.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/BrowserSessionFactory.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/BrowserSessionFactory.BrowserSessionInfo.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/WindowClosedException.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/RemoteControlConfiguration.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/HtmlIdentifier.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/CommandHolder.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/StaticContentHandler.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/ApplicationRegistry.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/FsResourceLocator.html", "arges/data/thirdparty/selenium-server-1.0.1/javadoc/org/openqa/selenium/server/class-use/ResourceLocator.html"]}, "metadata": {"name": "arges", "license": "Apache License 2.0", "author": "Adrian Deccico", "home-page": "http://code.google.com/p/arges/", "summary": "Simple and multi platform automated testing and tasks execution tool, that can be used straight from the command line.", "version": "0.8.9", "normalized-version": "0.8.9", "keywords": "automated testing, qa, selenium, testing, bdd, tdd", "classifiers": "['Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Interpreters', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', 'Topic :: Software Development :: Libraries :: Python Modules']", "author-email": "deccico@gmail.com", "description": "===========\\nArges\\n===========\\n\\nArges scripts are very simple and emulate a very high level language from where you call the testing/execution actions. Arges provides a set of utilities for\\nrapid automated testing to interact with any kind of interfaces including the web ui side (by using Selenium) and the server side / command line testing.\\n\\nIt supports handling parameters, which are totally separated from the scripts.\\n\\nWithin the test scripts you call the actions which by now, are divides into three main categories:\\n\\n-Web handling. From where you can interact with any web site. Selenium 1.0.1 library is used internally.\\n\\n-Command line executions. To execute any kind of command and check the return code or its output.\\n\\n-Parameters handling. \\n\\n\\nQuick installation and use\\n-----------------------------\\nJust type:\\n\\npip install arges\\n\\nAnd you are ready to go. Arges will interpret .tcase (test case files) and \\n.tsuite (test suite files) in your command line. \\n\\nThis files are high level testing files which are used to launch your testing \\ncommands. Within the .tdata files you can put the parameters so your scripts \\ncould be generic. .tsuite are used to group .tcase and other .tsuite files.\\n\\nThe metaphor of the system is a high level interpreter of a simple \\"testing\\" \\nlanguage that a business analyst or qa guy could read without messing with \\nthe code. Your tests could be grouped in tcases, so in this way you will \\nbuild reusable, testing \\"bricks\\", such as a login module. \\n\\nThere is an example in the same program. For the sake of testing arges you \\ncan try this: \\n\\nsudo arges <your_python_dir>/dist-packages/arges/data/dummy_test_dir/dummy_app/tcase/goodbye_cruel_world.tcase \\n\\nIn case you don't know, the sudo command is just to get administrative rights. \\nThis is so in Ubuntu and other \\\\*nix systems.\\n\\nYou don't need to be administrator to run arges, but as the report file will be \\ncreated in a \\"reports\\" directory within the .tcase dir, you will need some \\nadministrative rights. You could avoid this, just by copying the dummy dir to \\na home folder. Report file will contain the results of your testing.\\n\\n\\nAdding your own commands.\\n-----------------------------\\nArges is extensible! \\n\\nJust add your own module within argestools/api with a \\"runCommand\\" method. \\nYou will also need to declare it in the \\"__all__\\" list of the same package, \\njust by editing argestools/api/__init__.py and adding your modules's name to \\nthe list present within the firsts lines. \\n \\n\\nWeb testing.\\n-----------------------------\\nSelenium in included within the system and you could invoke its commands within \\nyour testing scripts. hello_world.tcase is a simple example. In order to get \\nSelenium commands workingm you will need to start Selenium which is present in \\ndata/thirdparty/selenium-server-1.0.1\\n\\nSelenium will let you send commands and get information from any web.\\n\\n \\n\\n"}}''',
15    '2nd': r'''{"requirements": {"install": ["lxml", "eventlet", "elixir", "pyquery"]}, "source": {"include": ["crawley/*.py", "crawley/http/*.py", "crawley/multiprogramming/*.py", "crawley/crawlers/*.py", "crawley/scrapers/*.py", "crawley/utils/*.py", "crawley/manager/*.py", "crawley/persistance/*.py", "crawley/simple_parser/*.py", "crawley/smtp/*.py", "crawley/utils/collections/*.py", "crawley/manager/projects/*.py", "crawley/manager/commands/*.py", "crawley/persistance/relational/*.py", "crawley/persistance/documents/*.py", "crawley/persistance/nosql/*.py", "**/crawley/conf/**/*.tm", "crawley/bin/crawley"], "packages": ["crawley", "crawley.http", "crawley.multiprogramming", "crawley.crawlers", "crawley.scrapers", "crawley.utils", "crawley.manager", "crawley.persistance", "crawley.simple_parser", "crawley.smtp", "crawley.utils.collections", "crawley.manager.projects", "crawley.manager.commands", "crawley.persistance.relational", "crawley.persistance.documents", "crawley.persistance.nosql"]}, "version": 1, "scripts": ["crawley/bin/crawley"], "data-files": {"/home/vinay/projects/distro/pypi/work/crawley-dev-0.0.1/crawley/conf/templates": ["/home/vinay/projects/distro/pypi/work/crawley-dev-0.0.1/crawley/conf/templates/crawlers.tm", "/home/vinay/projects/distro/pypi/work/crawley-dev-0.0.1/crawley/conf/templates/html_template.tm", "/home/vinay/projects/distro/pypi/work/crawley-dev-0.0.1/crawley/conf/templates/template.tm", "/home/vinay/projects/distro/pypi/work/crawley-dev-0.0.1/crawley/conf/templates/config.tm", "/home/vinay/projects/distro/pypi/work/crawley-dev-0.0.1/crawley/conf/templates/metadata.tm", "/home/vinay/projects/distro/pypi/work/crawley-dev-0.0.1/crawley/conf/templates/models.tm", "/home/vinay/projects/distro/pypi/work/crawley-dev-0.0.1/crawley/conf/templates/settings.tm"]}, "data": {"search-packages": true}, "metadata": {"name": "crawley-dev", "license": "GPL v3", "author": "Crawley Developers", "home-page": "http://crawley-project.org/", "summary": "Pythonic Scraping / Crawling FrameWork built On Eventlet", "version": "0.0.1", "normalized-version": "0.0.1", "keywords": "Scraping Crawling Framework Python", "author-email": "jmg.utn@gmail.com"}}''',
16    '3rd': r'''{"source": {"include": ["boilerplate/*.py", "boilerplate/tmpl/*.py", "boilerplate/tmpl/boil_template/*.py", "bin/boil"], "packages": ["boilerplate", "boilerplate.tmpl", "boilerplate.tmpl.boil_template"], "graft": ["boilerplate"]}, "version": 1, "data": {"include": {"boilerplate/tmpl/boil_template/tmpl/_$project_name$_": ["config.py", "__init__.py"], "boilerplate/tmpl/boil_template/tmpl/_$project_name$_/tmpl/_$project_name_var$_": ["_$project_name_var$__readme.txt"], "boilerplate/tmpl": ["__init__.py"], "boilerplate/tmpl/boil_template": ["config.py", "__init__.py"]}, "search-packages": true}, "scripts": ["bin/boil"], "metadata": {"name": "boilerplate", "author": "Kuba Janoszek", "home-page": "https://github.com/jqb/boilerplate/tree/ver-1.2-beta", "summary": "Easy to use ool for painless project layout templating", "version": "1.2-beta", "normalized-version": "1.2b0", "classifiers": "['Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python']", "author-email": "kuba.janoszek@gmail.com"}}''',
17}
18
19def main():
20    for key, value in sorted(DATA.items()):
21        d = json.loads(value)
22        try:
23            fd, fn = tempfile.mkstemp()
24            os.close(fd)
25
26            s = yaml.dump(d, Dumper=CustomDumper, default_flow_style=False)
27            with open(fn, 'w') as f:
28                f.write(s)
29            with open(fn, 'r') as f:
30                s2 = f.read()
31                if s != s2: # no reason they should be unequal ...
32                    print('%s: strings unequal' % key)
33                    continue
34                try:
35                    d2 = yaml.load(s2)
36                    if d != d2:
37                        print('%s: dicts unequal' % key)
38                except Exception as e:
39                    print('%s: unable to load dumped YAML: %s' % (key, e))
40                    d2 = None
41        finally:
42            os.remove(fn)
43
44if __name__ == '__main__':
45    main()
46