Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIS CSC unittest fails #17

Open
jason-callaway opened this issue Feb 27, 2020 · 1 comment
Open

CIS CSC unittest fails #17

jason-callaway opened this issue Feb 27, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jason-callaway
Copy link
Contributor

======================================================================
FAIL: test_control_count_cis_csc (test_regime_etl.TestConfigYaml)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jasoncallaway/PycharmProjects/sckg/tests/test_regime_etl.py", line 90, in test_control_count_cis_csc
    self.assertEquals(r[0], r[1])
AssertionError: 191 != 171

----------------------------------------------------------------------
@jason-callaway jason-callaway added the bug Something isn't working label Feb 27, 2020
@jason-callaway jason-callaway self-assigned this Feb 27, 2020
@jason-callaway
Copy link
Contributor Author

This is better after fixing the CNSSI 1253 PII source TSV to include spaces in the 800-53 control names. But the test case is still failing. Still, getting closer.

match (r:regime {name: 'CNSSI 1253'})-[:HAS]->(b:baseline {name: 'Privacy'}) with r, b match (b)-[:REQUIRES]->(c:control) return count(distinct(c.name))
╒═════════════════════════╕
│"count(distinct(c.name))"│
╞═════════════════════════╡
│196                      │
└─────────────────────────┘

Vs.

$ cat cnssi_1253_privacy.tsv | wc -l
     232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant