@Override
    public String getName() {
        return "Python Package Analyzer";
    }
@Test
    public void testAnalyzeSourceMetadata() throws AnalysisException {
        boolean found = false;
        final Dependency result = new Dependency(BaseTest.getResourceAsFile(
                this, "python/eggtest/__init__.py"));
        analyzer.analyze(result, null);
        assertTrue("Expected vendor evidence to contain \"example\".", 
                result.getEvidence(EvidenceType.VENDOR).toString().contains("example"));
        for (final Evidence e : result.getEvidence(EvidenceType.VERSION)) {
            if ("0.0.1".equals(e.getValue())) {
                found = true;
                break;
            }
        }
        assertTrue("Version 0.0.1 not found in EggTest dependency.", found);
        assertEquals("0.0.1",result.getVersion());
        assertEquals("eggtest",result.getName());
        assertEquals("eggtest:0.0.1",result.getDisplayFileName());
        assertEquals(PythonPackageAnalyzer.DEPENDENCY_ECOSYSTEM,result.getEcosystem());
    }