Skip to content

Commit

Permalink
wsgi_additional: use more execute_batch() in tests
Browse files Browse the repository at this point in the history
Which removes the last use of Time::now_string().

Also, this is meant to be the last commit around the 'remove
workdir/street-housenumbers-reference-<relation>.lst files' story.

Change-Id: Idb6f2537c2278cacf31d78d251607c5a074400d8
  • Loading branch information
vmiklos committed Sep 8, 2024
1 parent 685bb5f commit f6eb9c3
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 371 deletions.
6 changes: 0 additions & 6 deletions src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,6 @@ pub trait Time {
/// Calculates the current time.
fn now(&self) -> time::OffsetDateTime;

/// The current time as a unix timestamp nanosec string.
fn now_string(&self) -> String {
let now = self.now();
now.unix_timestamp_nanos().to_string()
}

/// Delay execution for a given number of seconds.
fn sleep(&self, seconds: u64);

Expand Down
Loading

0 comments on commit f6eb9c3

Please sign in to comment.