From 839c5dd94d4b378a9db94ec433b9d806be0057d1 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Tue, 1 Oct 2024 17:11:42 -0400 Subject: [PATCH] run tsp-asn1 tests Signed-off-by: William Woodruff --- Makefile | 1 + rust/tsp-asn1/Cargo.lock | 2 +- rust/tsp-asn1/src/tsp.rs | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 16a9788..4e8f854 100644 --- a/Makefile +++ b/Makefile @@ -74,3 +74,4 @@ test tests: $(VENV)/pyvenv.cfg pytest --cov=$(PY_IMPORT) $(T) $(TEST_ARGS) && \ python -m coverage report -m $(COV_ARGS) cargo test --manifest-path rust/Cargo.toml + cargo test --manifest-path rust/tsp-asn1/Cargo.toml diff --git a/rust/tsp-asn1/Cargo.lock b/rust/tsp-asn1/Cargo.lock index f69af21..75df9c4 100644 --- a/rust/tsp-asn1/Cargo.lock +++ b/rust/tsp-asn1/Cargo.lock @@ -66,7 +66,7 @@ dependencies = [ ] [[package]] -name = "tsp-ans1" +name = "tsp-asn1" version = "0.0.1" dependencies = [ "asn1", diff --git a/rust/tsp-asn1/src/tsp.rs b/rust/tsp-asn1/src/tsp.rs index 7537804..8f0e113 100644 --- a/rust/tsp-asn1/src/tsp.rs +++ b/rust/tsp-asn1/src/tsp.rs @@ -190,6 +190,8 @@ pub struct RawTimeStampResp<'a> { #[cfg(test)] mod tests { + use crate::{cms, name}; + use super::*; #[test]